Ending a session when user exits a program.

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Jeremy C. Reed
Data:  
Temat: Ending a session when user exits a program.
On Tue, 25 Feb 2003, Kyle Faber wrote:

> Excellent. I haven't even tried it yet, but I need flags for the program to
> run. How do I have /etc/passwd accept white space between the commands.
> Will it just work.. for example....
>
>
> user:x:###:###::/home/user:/home/new.shell.program -1 -2 -fv


No. Write a script that exec's the "new.shell.program -1 -2 -fv".
Then use that script as the user's shell.

Jeremy C. Reed
http://bsd.reedmedia.net/