- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP is not working with 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
07-16-2008 04:43 AM
07-16-2008 04:43 AM
FTP is not working with root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 04:54 AM
07-16-2008 04:54 AM
Re: FTP is not working with root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 05:02 AM
07-16-2008 05:02 AM
Re: FTP is not working with root user
check that if you have /etc/ftpd/ftpusers file.
if so remove root from it.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 05:05 AM
07-16-2008 05:05 AM
Re: FTP is not working with root user
In this file every line is remarked. No Allow or Deny. May be some other issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 05:06 AM
07-16-2008 05:06 AM
Re: FTP is not working with root user
ftpd rejects remote logins to local user accounts that are named in /etc/ftpd/ftpusers
So, remove the root from the above file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 05:11 AM
07-16-2008 05:11 AM
Re: FTP is not working with root user
In which file? /var/adm/inetd.sec or /etc/ftpd/ftpusers?
If it is the /var/adm/inetd.sec, then that is fine. This file will NOT effect FTP for root. This file works off of host names and IP addresses ONLY, NOT user names.
You likely culprit is the ftpusers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 05:32 AM
07-16-2008 05:32 AM
Re: FTP is not working with root user
Are you using bastille.
If so, check /etc/opt/sec_mgmt/bastille/config file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 09:58 AM
07-16-2008 09:58 AM
Re: FTP is not working with root user
As suggested by everybody above.
#more /etc/ftpd/ftpusers | grep -i root
If above output shows entry "root" then edit file in vi
#vi /etc/ftpd/ftpusers
and remove root entry from the file. And then try to ftp.
-=ShRi=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 10:11 AM
07-16-2008 10:11 AM
Re: FTP is not working with root user
# cat /etc/ftpd/ftpusers | grep -v root >test.op| cp test.op /etc/ftpd/ftpusers
Simple!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 11:16 AM
07-16-2008 11:16 AM
Re: FTP is not working with root user
It would be cleaner to remove the evil cat and remove the pipe (before the cp):
grep -v -w root /etc/ftpd/ftpusers > test.op
mv test.op /etc/ftpd/ftpusers
- Tags:
- evil cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 08:31 PM
07-16-2008 08:31 PM
Re: FTP is not working with root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 09:12 PM
07-16-2008 09:12 PM
Re: FTP is not working with root user
Are you using any 3rd party client or its system default ftp? Is the behavior same with both. do you have any special characters in your password? Can you login with root on shell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 12:02 AM
07-17-2008 12:02 AM
Re: FTP is not working with root user
Please check Below
Reasons FTP login could succeed:
/etc/ftpusers does not exist in system
/etc/ftpusers does not contain root
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:22 AM
07-17-2008 01:22 AM
Re: FTP is not working with root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:35 AM
07-17-2008 01:35 AM
Re: FTP is not working with root user
If you want to fail a security audit.
Enable root ftp.
This puts a protocol in place that broadcasts the root password all over your LAN in clear text.
Use a non-privileged user for ftp.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:46 AM
07-17-2008 01:46 AM
Re: FTP is not working with root user
/etc/ftpd/ftpuser is there but also /etc/ftpuser is also there if you have seen properly.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:55 AM
07-17-2008 01:55 AM
Re: FTP is not working with root user
We had a similar issue years ago...I think that if the shell assigned to root is not in /etc/shells i don't believe the account will be able to FTP to the server.
I think it came down to the root account had a valid shell defined in /etc/passwd. But it wasn't in /etc/shells....someone "customized" the login at the time.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 03:06 AM
07-17-2008 03:06 AM
Re: FTP is not working with root user
Allowing ftp for root is just unsafe.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 03:13 AM
07-17-2008 03:13 AM
Re: FTP is not working with root user
Further on that we've completely removed FTP from all our environments. And we're very happy to have done it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 07:32 AM
07-17-2008 07:32 AM
Re: FTP is not working with root user
I thing you didn't check the man pages properly...See the location in man page...don't believe me, believe what your man page say....