Problems with /usr/bin/chsh
Okay, I downloaded and installed Slackware 9.1. When attempting to run chsh as a non-root user, I get "You may not change the shell for kbolino." (in this case, I was kbolino when executing). I didn't pay it much mind, downloaded and installed Slackware-current packages. But, I'm still getting the same problem. /usr/bin/chsh gives the following `ls -l':
-rws--x--x 1 root bin 27780 May 20 22:01 chsh* I also notice that the setuid bit will sometimes turn itself off (?!?) but setting on/off has no effect (same message is produced). I tried changing user/group to root/root, no avail. Tried using permissions -rwsr-sr-x, no avail. No problems with `passwd' or `chfn'. Maybe someone else has encountered this problem? |
well, what is your users default $SHELL??
Code:
which $SHELL |
why you want to run chsh as an ordinary user?
the syntaxis of the command is chsh -s /bin/..sh kbolino as root |
All times are GMT -5. The time now is 06:35 PM. |