Ending a session when user exits a program.

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Jeremy C. Reed
Fecha:  
Asunto: 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/