1833366 Members
2997 Online
110052 Solutions
New Discussion

FTP permissions

 
Matt Rieman
Contributor

FTP permissions

Currently only the root user can use FTP to transfer files to and from our HP-UX 11.00 system. When any other user tries, they get a "not authorized" message. How do I set it up so that other specified users can use FTP?

Thanks,

Matt
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: FTP permissions

Matt,

What does your /var/adm/inetd.sec file contain?


Pete

Pete
G. Vrijhoeven
Honored Contributor

Re: FTP permissions

Hi,

add the users to /etc/ftpd/ftpusers
check man ftpusers.

Gideon
Elmar P. Kolkman
Honored Contributor

Re: FTP permissions

Also check /etc/shells
Perhaps root is the only one with a shell that is in there...
Every problem has at least one solution. Only some solutions are harder to find.
Graham Cameron_1
Honored Contributor

Re: FTP permissions

Could be a number of things.

Most obvious is to check the file /etc/ftpd/ftpusers (see "man ftpusers").

If that doesn't help then look at /etc/ftpd/ftpaccess (see "man ftpaccess) and check /etc/inetcd.conf to see if ftpd gets invoked with a -a option which causes this file to be used.

Try running "inetsvcs_sec status".

At what point do none-root users see the message - when they start ftp or when they try to connect to the hp-ux box?

etc

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
T G Manikandan
Honored Contributor

Re: FTP permissions

check /etc/shells
/etc/ftpd/ftpusers