Author: Digital Wokan Date: Subject: Ending a session when user exits a program.
Kyle Faber wrote: > On Monday 24 February 2003 10:12 am, Bill Nash wrote:
>
>>Have the called program become their shell, in /etc/passwd?
>
>
> 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
>
> Will that work?
Jeremy's idea to put the command in a shell script and call that is
probably the most foolproof solution, but I was thinking that it might
work if you used "\ " instead of just spaces. It would certainly be
easier to sed through when changes are needed. And it would allow you
to change options more easily on a user by user basis, instead of
writing a script for each different set of options.