by Jonathan Simms on Mon Nov 03, 2008 10:08 pm
Fred,
I don't believe that /etc/passwd looks into the bin directory unless specified to do so. In fact I don't think a shell is even necessary for certain account types such as accounts that are non-interactive and non-login. If you take a look at the /etc/passwd file for opus you will notice that there are some accounts which are not shells, such as scp. I think that using an absolute path is good practice and if it is necessary for /etc/passwd that I'm not sure of however as Kevin noted that by used an absolute path you are going to be certain which tcsh you're using which avoids a security issue in the off chance that you might have tcsh file somewhere other than /bin and you have set, or someone else has set, your home directory at the beginning of PATH.