Results 1 to 1 of 1
Though I aint new I think I have to post this here without beeing lauched at...
I have problems with Sudo and a Custom Login Shell..
I think that the ...
- 10-01-2007 #1
sudo
Though I aint new I think I have to post this here without beeing lauched at...
I have problems with Sudo and a Custom Login Shell..
I think that the files explain more then I can so:
/etc/passwd:
(Custom Shell)Code:luser:x:503:503::/tmp:/bin/chrootshell
/bin/chrootshell uses sudo to choot user and that kind of stuff.
Well, when I try to login with the user.. (luser) he drops out.
Cant act as su in /usr/sbin so well since I have a moral thing against sudo.. (dont ask me about this..)
Well I have no idea what Ive done wrong in the sudoers file..
This is what it says..
oh, and can I change that also to the group name instead of the single user name?Code:luser ALL=NOPASSWD: /usr/sbin/chroot /home/luser /bin/su - luser*


Reply With Quote