On Thu, Apr 19, 2001 at 04:12:58PM -0700, Lang Hurst wrote:
> I added users to halt and reboot, respectively, by making the formers login
> shell /sbin/halt and the latter's /sbin/reboot.
Neat idea; if I rebooted more often I might try it.
> If I login as the halt user, the system shuts down and
I do not get exactly why he is doing this but ...
I played as follows without answer. (No reboot, of course)
He seems to set login shell through /etc/passwd entry as some command.
So I checked how login interprets them if it is softlink to some other
command by using shell script with $0. It pr
on Fri, Apr 20, 2001 at 04:15:33PM +0400, Ilya Martynov ([EMAIL PROTECTED])
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
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.
Hello,
I added users to halt and reboot, respectively, by making the formers login
shell /sbin/halt and the latter's /sbin/reboot.
If I login as the halt user, the system shuts down and powers off. Great.
When I login as the reboot user, the system shuts down and powers off. Not
what I wanted.
5 matches
Mail list logo