[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: user=halt=halt, user=reboot=halt?



on Fri, Apr 20, 2001 at 04:15:33PM +0400, Ilya Martynov (m_ilya@agava.com) wrote:
> 
> LH> Hello,
> LH> I added users to halt and reboot, respectively, by making the formers login
> LH> shell /sbin/halt and the latter's /sbin/reboot.
> 
> LH> If I login as the halt user, the system shuts down and powers off.  Great.
> LH> When I login as the reboot user, the system shuts down and powers off.  Not
> LH> what I wanted.
> 
> LH> This isn't a huge deal, but I would like to know why this is happening.
> LH> Thanks.
> 
> May be becouse /sbin/reboot is just simlink to /sbin/halt? Try using
> /sbin/shutdown -r now as shell.

man halt.  When called as 'reboot', halt should.

It looks as if what Lang's trying should work.  Why it's not I don't
know.  I'm not going to sacrifice my uptimes to finding out why, but I'd
suggest he investigate.  I may the next time I take a system down.

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpqGe6gdpMaZ.pgp
Description: PGP signature


Reply to: