hayne
04-08-2006, 12:41 PM
I suspect that the user account that you are trying to 'su' to does not have a shell. This is nothing particularly new to netinfo - it would also happen with a classical /etc/passwd account that was configured to have no shell.
From 'man su':
su requests the password for login and switches to that user and group ID after obtaining proper authentication. A shell is then executed, and any additional shell arguments after the login name are passed to the shell.
Try it with a user account that can login - e.g. one of the accounts that a human uses. You should find that it works fine - it does for me (on 10.4.6)
You can see the configuration of all user accounts with the following command:
nidump passwd /
From 'man su':
su requests the password for login and switches to that user and group ID after obtaining proper authentication. A shell is then executed, and any additional shell arguments after the login name are passed to the shell.
Try it with a user account that can login - e.g. one of the accounts that a human uses. You should find that it works fine - it does for me (on 10.4.6)
You can see the configuration of all user accounts with the following command:
nidump passwd /
