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

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



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.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: