- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP: Unable to login as root ..
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
05-20-2002 11:22 PM
05-20-2002 11:22 PM
I am trying to ftp to a HPUX 11.0 m/c as root, but it gives an error saying "Access denied". I have re-installed the OS before .. Is this shows that i have missed any configuration ??
Regards
Jamni
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:28 PM
05-20-2002 11:28 PM
Re: FTP: Unable to login as root ..
cat /etc/ftpd/ftpusers
show?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:28 PM
05-20-2002 11:28 PM
Re: FTP: Unable to login as root ..
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:28 PM
05-20-2002 11:28 PM
Re: FTP: Unable to login as root ..
hi
r u facing problem in ftp for user root only.
just check your /etc/ftpd/ftpusers file whether any entry (root) is there .
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:35 PM
05-20-2002 11:35 PM
Re: FTP: Unable to login as root ..
On a secure system, these users should be inserted into the /etc/ftpd/ftpusers file. If you wish to have 'root' use for ftp remove the entry.
# more ftpusers
operator
root
daemon
bin
sys
adm
uucp
lp
nuucp
hpdb
www
#
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:38 PM
05-20-2002 11:38 PM
Re: FTP: Unable to login as root ..
The file /etc/ftpd/ftpusers was empty. Since i am not able to ftp as root, i have added an entry in that file as, 'root'.
Since this is a freshly installed system, i havent created anyother user.. so i havent tried ftping with other user :)
And /etc/ftpaccess file doesnt exist !!
Anyother clues ?
--Jamni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:50 PM
05-20-2002 11:50 PM
Re: FTP: Unable to login as root ..
I removed the entry 'root' .. still am not able to ftp as root. I tried rebooting the system also ..
--Jamni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 11:58 PM
05-20-2002 11:58 PM
Re: FTP: Unable to login as root ..
I created a 'guest' user and i am able to ftp as guest.
Any idea why root is not working ??
--Jamni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 12:02 AM
05-21-2002 12:02 AM
SolutionI know abot a strange thing that can happen on certain users with FTP (root is one of them), it has to do with the SHELL that user is running , in most casesthe root shell isn't 100% the same as the users , since HP-UX migration to 10.x and 11.x additional shells are available , in some cases the shell used by root isn't known on the system or isn't on the exact same directory anymore , then you need and /et/shells file to define these , putting it on both the client and the server , this is an example of such a file:
1. Create /etc/shells as follows:
/bin/sh
/bin/rsh
/bin/ksh
/bin/rksh
/bin/csh
/bin/pam
/bin/posix/sh
/sbin/sh
/usr/bin/sh
/usr/bin/
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
the behaviour of this shell issue with ftp is that you can start ftp , initiate a login but as soon as you get connected it gives you a
"error 530 user root access denied" message , also you should have a look if you have any /var/adm/inetd.sec file that contains an entry dis-allowing root (unlikely but possible)
rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 12:07 AM
05-21-2002 12:07 AM
Re: FTP: Unable to login as root ..
Check /etc/shells in your system
root must have its own shell in /etc/shells
like..
cat /etc/shells
/usr/bin/sh
/usr/bin/csh
/usr/bin/ksh
...
First! see what shells root have ?
then write it in /etc/shells..
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 12:15 AM
05-21-2002 12:15 AM
Re: FTP: Unable to login as root ..
1. on the remote machine, the user "root" has a non-null password.
2. on the remote machine, the shell for user "root" as specified in the /etc/passwd file is present in the /etc/shells file, or, if /etc/shells does not exist, is one of the following:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
3. "root" does not appear in the /etc/ftpd/ftpusers file.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 01:40 AM
05-21-2002 01:40 AM
Re: FTP: Unable to login as root ..
Thanks a lot .. I created /etc/shells file and it s working fine now.
Thanks a lot for all who helped me :)
Regards
Jamni