I have a user called bypass whose defined shell in /etc/passwd is 
/Path/To/bypass.sh

that script takes three parameters. When I run the script from the command line 
the script identifies the parameters. However, when the script is run via an 
ssh command (i.e. ssh [email protected] Parm1 Parm2 Parm2) the script does not 
see all three parameters. I've also tried calling the script via ssh 
[email protected] /Path/To/bypass.sh Parm1 Parm2 Parm3, but no joy. How can I 
have a script run as the users shell and execute multiple receieved parameters?

Thanks,

Eliyahu


      

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to