![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing shell program from a web page | venkatritch | Shell Programming and Scripting | 5 | 06-14-2008 02:36 AM |
| Shell Program that prompts for user Id | mmg2711 | Shell Programming and Scripting | 16 | 10-25-2007 10:09 AM |
| Shell Program that prompts for user Id | mmg2711 | UNIX for Dummies Questions & Answers | 1 | 10-24-2007 04:15 AM |
| Executing an .ec program in different informix versions | matrixmadhan | High Level Programming | 0 | 05-21-2005 03:29 AM |
| executing the su command from a java program. | shailendrat | UNIX for Dummies Questions & Answers | 1 | 03-24-2005 08:27 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Advantage of executing program in user shell?
Hi,
I'm curious about the advantage of forking and executing a program in a user shell as opposed to forking and executing the program directly without the user shell. For example: why is it often like: SSHD->fork&exec(shell, sftp-server)->fork&exec(sftp-server) And Not like: SSHD->fork&exec(sftp-server) Is there an advantage? TIA |
| Forum Sponsor | ||
|
|
|
|||
|
but the sftp program is being accessed by a remote client and the shell features of auto-completion etc will not come into picture as the commands from the sftp client will be passed to the server as is without any modifications. Am I wrong?
|
|||
| Google The UNIX and Linux Forums |