PDA

View Full Version : RH8: wu-ftp no login with /bin/false shell


awesomejt
2003-08-06, 00:17 AM
Hi folks,

I have some users I don't want shell accounts given to but I do want FTP access to them. On RH7.3 I just set the user shell to /bin/false and everything worked wonderfully, but on RH8 users are unable to login if the shell is set to /bin/false.

As soon as I set the user to have /bin/bash as the shell, they can login without problems. I tried using /dev/null too without success.

For security reasons, I would prefer not to give everyone shell access to the box.

Thanks.

Jason

awesomejt
2003-08-06, 00:25 AM
Hi, I found the answer.

/etc/shells

has the /sbin/nologin shell