Re: why doesn't shutdown work ??

MohanSai <[email protected]>
Newsgroups gmane.comp.window-managers.icewm.user
Organization ***
Message-ID <20100528102902.7e854a2f@localhost>
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" <[email protected]> wrote:

> On Thu, 27 May 2010 09:14:59 -0400
> dg <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icewm-user

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.