Ending a session when user exits a program.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: 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/