1833883 Members
1501 Online
110063 Solutions
New Discussion

FTP Only User Account

 
SOLVED
Go to solution
Scott Frye_1
Super Advisor

FTP Only User Account

Is it possible to set up a secure user that can only ftp. One that you can not even login a telnet session with?

Can anyone tell me how?

Thanks

Scott
9 REPLIES 9
Biswajit Tripathy
Honored Contributor

Re: FTP Only User Account

Setup an anonymous ftp account. Use SAM to set
it up. Go to SAM -> Networking and Communications
-> network services -> Anonumous FTP and
enable it.

- Biswajit
:-)
Alex Lavrov.
Honored Contributor

Re: FTP Only User Account

Create a regular user. but as shell write "/bin/false" and he will not be able to login with telnet/ssh
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Jean-Luc Oudart
Honored Contributor
Solution

Re: FTP Only User Account

and don't forget to put the list of valid shells in /etc/shells
man shells

Regards
Jean-Luc
fiat lux
Biswajit Tripathy
Honored Contributor

Re: FTP Only User Account

Oops.. I don't think you want anon-ftp; so ignore my
last reply. Use Alex's suggestion.

- Biswajit
:-)
Dani Seely
Valued Contributor

Re: FTP Only User Account

Hey Scott,
Create your user account and assign the user the /sbin/false shell. This will allow the user to ftp in, but not telnet or login directly.
Together We Stand!
Scott Frye_1
Super Advisor

Re: FTP Only User Account

I must have something wrong, I keep getting 'user saftp access denied' after I type in the user name but before I'm given the opportunity to enter the password.
Alex Lavrov.
Honored Contributor

Re: FTP Only User Account

Hmm, I'm away from any hpux server to try it, but I think you should edit ftpaccess file, try to read man pages

* http://www.rt.com/man/ftpaccess.5.html
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Scott Frye_1
Super Advisor

Re: FTP Only User Account

After creating the user and attempting to assign /bin/false to him, I discovered I did not have /etc/shells populated with /bin/false. I actually used /usr/bin/false in my /etc/shells file. then I modified my user's start up program to be /usr/bin/false and it works fine. Thanks for all the input.

Scott
Scott Frye_1
Super Advisor

Re: FTP Only User Account

After creating the user and attempting to assign /bin/false to him, I discovered I did not have /etc/shells populated with /bin/false. I actually used /usr/bin/false in my /etc/shells file. then I modified my user's start up program to be /usr/bin/false and it works fine. Thanks for all the input.

Scott