Re: why doesn't shutdown work ??
Brought to you by:
captnmark
|
From: MohanSai <k_m...@ya...> - 2010-05-28 04:53:22
|
Hi Bakshi! i'm not an expert at linux. there are two inittab files on my ubuntu system. 1) /etc/inittab 2) /usr/share/sysvinit/inittab which file needs to be appended with the line you mentioned? "shutdown -a /etc/shutdown.allow" could you specify which file ? Also, will this also work for reboot and how about locking the system. thanks, mohan sai On Thu, 27 May 2010 20:30:54 +0530 "J. Bakshi" <bak...@gm...> wrote: > On Thu, 27 May 2010 09:14:59 -0400 > dg <dg...@de...> wrote: > > > You can also give your user the ability to shutdown via > > "sudo", and then modifying your preferences file to specify > > "sudo shutdown -h now", and "sudo shutdown -r now" as the > > commands to run for those choices. > > > > Or you can enlist your account in the user list of shutdown. > > Modify inittab with > > ` ` ` ` > shutdown -a /etc/shutdown.allow > > ` ` ` ` > > ------------------------------------------------------------------------------ > > _______________________________________________ > IceWM-user mailing list > Ice...@li... > https://lists.sourceforge.net/lists/listinfo/icewm-user |