Subject: [Fwd: Re: using "shutdown" as a shell]
To: None <netbsd-help@netbsd.org>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 09/12/2003 00:22:28
> Can you add some debugging to it (so that it prints to console or syslog)
> so you can see what it is doing?
well, i have some debug printouts. (for example for telling on what
terminal is login shutdown used - this login is allowed only from
console). doesn't say anything weird. seems that there's something wrong
during the execution of the shutdown itself. but why does it work from
the command line?

> Or don't use a wrapper, just copy the shutdown command, like:
> 
> cp /sbin/shutdown /usr/local/sbin/login-shutdown
> chgrp shutdown /usr/local/sbin/login-shutdown
> chmod 4554 /usr/local/sbin/login-shutdown
> 
> And use that as the shell.
but what about the parameters ( -r now)? i think it's not possible to
specify them in the shell specification in /etc/passwd. or am i mistaken?

lubos

-- 
#####################################################
Mgr. Lubos Vrbka

Center for Complex Molecular Systems and Biomolecules
J. Heyrovsky Institute of Physical Chemistry
Academy of Sciences of the Czech Republic
Prague, Czech Republic

shnek@chemi.muni.cz
#####################################################



-- 
#####################################################
Mgr. Lubos Vrbka

Center for Complex Molecular Systems and Biomolecules
J. Heyrovsky Institute of Physical Chemistry
Academy of Sciences of the Czech Republic
Prague, Czech Republic

shnek@chemi.muni.cz
#####################################################