Re: why doesn't shutdown work ??
Brought to you by:
captnmark
|
From: Frank M. <be...@vi...> - 2010-05-28 17:26:53
|
On Fri, 28 May 2010 22:29:21 +0530 "J. Bakshi" <bak...@gm...> wrote: > On Fri, 28 May 2010 10:29:02 +0530 > MohanSai <k_m...@ya...> 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<be...@vi...> |