Current time: 11-18-2024, 04:29 PM Hello There, Guest! (LoginRegister)


Post Reply 
ftp user shell
Author Message
mjk Offline
Junior Member
*

Posts: 14
Joined: May 2007
Reputation: 0
Post: #1
ftp user shell
Instead of giving a ftp user a valid shell, how about using /bin/false ?

Would be safer.
05-19-2007 10:19 AM
Find all posts by this user Quote this message in a reply
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #2
RE: ftp user shell
for do it please insert into proftpd.conf
RequireValidShell off
05-19-2007 10:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: ftp user shell
Well, I think this is not needed.
/bin/false is a valid shell (in etch and also some other *nix os)

Since the values in the database are only questioned by the ftp daemon it makes no big difference - but to be on thes safe side, /bin/false should be absolutely enough...
05-20-2007 10:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #4
RE: ftp user shell
someone should test this. And verify that bin/false is a valid one.
05-20-2007 09:35 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: ftp user shell
Ok, I checked it.
I was wrong... :-( (in SuSE "/bin/false" was already a valid shell)

ok, two possibilities:
- "RequireValidShell off" in proftpd.conf
or
- "/bin/false" in /etc/shells

With this, you can set /bin/fals into the table ispcp.ftp_users...
both testet with etch.

/Joximu
05-20-2007 11:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)