Re: why doesn't shutdown work ??
Frank McCormick <[email protected]>
| Newsgroups | gmane.comp.window-managers.icewm.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 28 May 2010 22:29:21 +0530 "J. Bakshi" <[email protected]> wrote: > On Fri, 28 May 2010 10:29:02 +0530 > MohanSai <[email protected]> wrote: > > > 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. > > > > Hello, > > My box is based on debian. Generally /etc/inittab is the file where > all this modification can be done. Even in rpm based distro. So it > should be the same in ubuntu which is also based on debian > I tried it on my box (Debian testing) and all I got was an error message saying tags can only be 4 characters long. (Line added to /etc/inittab) -- Frank<[email protected]> ------------------------------------------------------------------------------