Re: User erstellen der nur halt darf
Am Montag, 21. Februar 2005 18:43 schrieb Andreas Pakulat:
> man bash nicht gelesen. Die Shell die von ssh gestartet wird ist doch
> wohl im Normalfall ne login-shell. Demzufolge wird .bashrc nur
> ausgewertet wenn sie in .bash_profile oder .profile gesourced wird.
>
> Wenn du festlegen willst, dass beim Einloggen dieses Users
> automatisch der Shutdown erfolgt benutze die $HOME/.bash_profile.
Okay, ist gemacht. Klappt trotzdem nicht.
Meldung am Client:
shutdown: you must be root to do that!
--
Mfg,
Michael
Reply to: