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

2001-04-21 Thread Rob Mahurin
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

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

2001-04-20 Thread Osamu Aoki
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

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

2001-04-20 Thread Karsten M. Self
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

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

2001-04-20 Thread Ilya Martynov
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.

user=halt=halt, user=reboot=halt?

2001-04-19 Thread Lang Hurst
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.