Re: parameters to shell script

2009-12-08 Thread Amos Shapira
2009/12/8 Tom Goren motne...@gmail.com does it work with *su* (as opposed to over ssh)? i.e. *su - bybass -c /Path/To/bypass.sh** param1 param2 *also, more information is definitely required, especially why you are trying to use this script as the default user shell, which does not

Re: parameters to shell script

2009-12-08 Thread Tom Goren
awesome, thanks for the info. 2009/12/8 Amos Shapira amos.shap...@gmail.com 2009/12/8 Tom Goren motne...@gmail.com does it work with *su* (as opposed to over ssh)? i.e. *su - bybass -c /Path/To/bypass.sh** param1 param2 *also, more information is definitely required, especially why

Re: parameters to shell script

2009-12-07 Thread Tom Goren
does it work with *su* (as opposed to over ssh)? i.e. *su - bybass -c /Path/To/bypass.sh** param1 param2 *also, more information is definitely required, especially why you are trying to use this script as the default user shell, which does not sound like best practices... a shell is a

Re: parameters to shell script

2009-12-06 Thread Shay Ohayon
Try running the command its parameters inside quotes () for example: ssh u...@host command param1 paramN I must say that it is quite difficult to provide you with a solution because I don't really know what the script does and how does it handles each parameter, it would be better if you can