- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP only works as root user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:03 PM
04-02-2002 10:03 PM
FTP only works as root user
thanks,
Everett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:08 PM
04-02-2002 10:08 PM
Re: FTP only works as root user
Hi,
If the user you log in as when you ftp into
the machine has a default shell that is
not one of the standard (supported) shell
you will have this problem. Check this.
If you use a unsupported shell you have
to make a file /etc/shell where you
inform the system of this. see man shells
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:11 PM
04-02-2002 10:11 PM
Re: FTP only works as root user
Remove the /etc/ftpd/ftpusers file. This will bypass all ftp security checks. See the man page 'ftpusers' for further information. This file resides in a different directory on HPUX 11 than it did on 10.20.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:14 PM
04-02-2002 10:14 PM
Re: FTP only works as root user

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:22 PM
04-02-2002 10:22 PM
Re: FTP only works as root user
Seems like the place to start, considering the files in /etc/ftpd directory didn't seem to alter much at all.
Will update with results tomorrow. Any other ideas would be appreciated, just in case the above doesn't work.
Thanks,
Everett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:33 PM
04-02-2002 10:33 PM
Re: FTP only works as root user

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:33 PM
04-02-2002 10:33 PM
Re: FTP only works as root user

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 10:57 PM
04-02-2002 10:57 PM
Re: FTP only works as root user
Can telnet in fine, rlogin fine, etc., but as soon as one tries to enter a non-root user id at the ftp login request prompt, system will not allow user to login and doesn't even request for a password. Gives message like user not allowed or denied access right away.
Same problem if I just open a shell window and try to ftp to itself with id other than root.
Everett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 11:04 PM
04-02-2002 11:04 PM
Re: FTP only works as root user
I have empty ftpusers file, but users that i have created(in /etc/passwd) can do ftp. check your passwd file and ensure that you have created users, who wants to do ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 11:11 PM
04-02-2002 11:11 PM
Re: FTP only works as root user
Then add that shell to the /etc/shells file.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 05:30 AM
04-03-2002 05:30 AM
Re: FTP only works as root user
The following is for an 11.0 system.
Per man ftpd:
BEGIN QUOTE
ftpd authenticates users according to three rules:
o+ The user name must be in the password data base, /etc/passwd, and not have a null password. The client must provide the correct password for the user before any file operations can be performed.
o+ The user name must not appear in the file /etc/ftpd/ftpusers (see ftpusers(4)).
o+ The user must have a standard shell returned by getusershell().
END QUOTE
man getusershell lists the following as defaults in the absence of /etc/shells:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
If you create /etc/shells, you will want to add all of the above your users use as well as any not listed above.
ftpaccess adds a lot of functionality. See man ftpaccess for more info. I'd suggest not using ftpaccess until you are familiar with what it does.
Darrell