1845946 Members
3501 Online
110250 Solutions
New Discussion

Re: Create user

 
jhuihuihi
Contributor

Create user

Dear all,

I need to create user, who can access FTP only,

can somebody help me, please.

thanks
4 REPLIES 4
Yogeeraj_1
Honored Contributor

Re: Create user

hi,

see http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=25480

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Michael Tully
Honored Contributor

Re: Create user

Point you your shell for the user to /usr/bin/false This will allow ftp access only. You will need to create a file called /etc/shells and place all relevant shells for your system in it. See below examples. The rest of the user information like uid etc can be anything.


/sbin/sh
/bin/sh
/usr/bin/sh
/bin/csh
/usr/bin/csh
/bin/ksh/
/usr/bin/ksh
/usr/bin/false

Anyone for a Mutiny ?
Sunil Sharma_1
Honored Contributor

Re: Create user

Hi,

I think this link will be useful for you.

http://newfdawg.com/SHP-FTP-ftphosts.htm

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Sean OB_1
Honored Contributor

Re: Create user

Just create the user and give the /usr/bin/false as their shell. This will deny them shell access to the server.

Make sure that/usr/bin/false is in the file /etc/shells otherwise ftp will not allow them to connect.