Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
--------------------------------------------
Hi!

I was pondering over this for long. Is it possible to give a
halt/reboot option at console when the system is started at runlevel 3 ?
This is given by default if you login at runlevel 5.

One method seems to be :
1. Make a user named halt ( there already seems to be in /etc/passwd )
2. Disable its password
3. edit its .bashrc so that halt command is issued immediately on login
4. similar steps for reboot

Can someone suggest some other more secure/logical solution to this ?
Is the halt/reboot functionality in runlevel 5 achieved with same method
as discussed above ?

-- 
Nikhil Joshi
http://nikhil.ne1.net

-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to