Next LUG meet: 9 Nov 2003 around 4 pm - VJTI -------------------------------------------- well every runlevel has its own directory so i think u can modify the .bashrc of runlevel3
the dir i think exists under /etc/rc.d hope u find this useful ----- Original Message ----- From: "Nikhil Joshi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 10:14 PM Subject: [ILUG-BOM]Halt option at start > 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 > -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

