1832862 Members
2979 Online
110048 Solutions
New Discussion

ftp

 
SOLVED
Go to solution
Jay Cantwell
Regular Advisor

ftp

Can I set a user to have ftp access for read (get) only. I do not want the user to be able to any puts to the system. Also, can this be done without using file/directory permissions ??

thanks..Jay
4 REPLIES 4
Manju Kampli
Trusted Contributor

Re: ftp

Jay,

you can create the user to have only ftp access by making the login shell as false. But to make it read only you will have to make the permission change on the directory permissions.
may be you can look in to creating anonymous ftp user account.

Cheers,
Manju
Never stop "LEARNING"
A. Clay Stephenson
Acclaimed Contributor

Re: ftp

Hi:
If you are running 11x or 10.20 and installed wuftp from one of the HP-UX porting centers then you can setup the ftpaccess to limit almost any operation.

Man ftpaccess for details.

Clay
If it ain't broke, I can fix that.
Santosh Nair_1
Honored Contributor
Solution

Re: ftp

The 11.0 version of ftpd is wu-ftp..albeit an older one, but one that is supported by HP. Modify the /etc/inetd.conf file to add the -a option to the ftpd line. This tells the daemon to use the ftpaccess file to restrict access. Man ftpd and ftpaccess for more details.

-Santosh
Life is what's happening while you're busy making other plans
Herve BRANGIER
Respected Contributor

Re: ftp

Hi

You can use /etc/ftpd/ftpaccess to limit user's
access. You can create anonymous ftp user or
create a group of guest users.(user with a
special group, in /etc/group. You can find more
informations on ftpaccess man page. You can
have ftp only access with a shell like
/bin/false (you must put this shell on /etc/shells).

You can also use WU-FTPD, some versions are
supported by HP, but I think you can do that
with standard ftp deamon.

HTH

Herv?