Ending a session when user exits a program.

Jeremy C. Reed plug-discuss@lists.plug.phoenix.az.us
Tue, 25 Feb 2003 14:15:56 -0800 (PST)


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/