- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp can not 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
03-14-2001 07:53 PM
03-14-2001 07:53 PM
While doing ftp from one server to another I can not use root but other user id can logged in and do the file transfer.
What should I check ?
host1:/home/ac> ftp host2
Connected to host2.
220 host2 FTP server (Version 1.1.214.7 Thu Aug 10 09:57:38 GMT 2000) ready.
Name (host2:ac): root
530 User root access denied...
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
Thanks in advance.
[This time poits assured :) ]
Animesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 08:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 08:47 PM
03-14-2001 08:47 PM
Re: ftp can not login as root
Take a look at the file
/etc/ftpd/ftpusers
And see if the name "root" is under there. If yes then "root" will be dis-allowed for doing ftp. Any user name contained in the above file will be prohibited from using ftp. See "man ftpusers" for detail.
~Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 08:51 PM
03-14-2001 08:51 PM
Re: ftp can not login as root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 09:27 PM
03-14-2001 09:27 PM
Re: ftp can not login as root
root is not included in my /etc/ftpd/ftpusers
and I have also checked for /etc/shells..there is no such file.If I create one how will be the entry into it ?
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 10:10 PM
03-14-2001 10:10 PM
Re: ftp can not login as root
Solved!Patrick thanks for your clue.
One of my colegue changed /etc/passwd as
root:...../bin/ksh and ftp stoped working.
once again thanks for your response
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 10:26 PM
03-14-2001 10:26 PM
Re: ftp can not login as root
Please note that it is a bad idea to have the default login shell for root as /usr/bin/ksh or /bin/ksh for that matter. This is because /usr is not mounted when the system is in single-user or maintenance mode and /bin is a softlink to /usr/bin.
If you do not want login problems when you shutdown to single-user or maintenance mode, I would advise that you stick to the shells in /sbin since /sbin is part of the / filesystem and thus definitely mounted at boot-time in single-user or maintenance mode.
If you really want to use ksh, copy its statically-binded binary to /sbin.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com