- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root FTP
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-20-2004 08:25 PM
тАО10-20-2004 08:25 PM
root FTP
I have one rp3440 with HPUX 11.11. I can't login by ftp with root user. I don't have a trusted system.
I add the follwing lines in the /etc/shells:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
In the /etc/ftpd I have the following directories:
ftp-exec
pids
I created the /etc/ftpd/ftpusers with blank lines. My file /var/adm/inetd.sec has:
# @(#)B.11.11_LRinetd.sec $Revision: 1.10.214.1 $ $Date: 96/10/08 13:20:06 $
#
#
# The lines in the file contain a service name, permission field and
# the Internet addresses or names of the hosts and/or networks
# allowed to use that service in the local machine.
# The form for each entry in this file is:
#
#
#
# For example:
#
# login allow 10.3-5 192.34.56.5 ahost anetwork
#
# The above entry allows the following hosts to attempt to access your system
# using rlogin:
# hosts in subnets 3 through 5 in network 10,
# the host with Internet Address of 192.34.56.5,
# the host by the name of "ahost",
# all the hosts in the network "anetwork"
#
# mountd deny 192.23.4.3
#
# The mountd entry denies host 192.23.4.3 access to the NFS rpc.mountd
# server.
#
# Hosts and network names must be official names, not aliases.
# See the inetd.sec(4) manual page for more information.
dtspc allow 127.0.0.1 loopback SCHDAPL1
With other user, I can run ftp without problems but I couldn't do the same with root users. I don't know what more can I do because I checked all the things without results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 08:37 PM
тАО10-20-2004 08:37 PM
Re: root FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 08:40 PM
тАО10-20-2004 08:40 PM
Re: root FTP
can you try as,
ftp
ftp> user root
ftp> status
ftp> user
ftp> status
Are you getting informations on syslog.log file more.
What is there in /etc/securetty file.
Post these. It will good more for analysis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 08:50 PM
тАО10-20-2004 08:50 PM
Re: root FTP
Oct 21 10:47:56 SCHIDEAPL01 ftpd[22873]: pam_authenticate: Authentication failed 2
Oct 21 10:47:56 SCHIDEAPL01 ftpd[22873]: User root: Login incorrect
Oct 21 10:48:52 SCHIDEAPL01 ftpd[22873]: FTP session closed
For other user I have these others:
Oct 21 10:49:04 SCHIDEAPL01 ftpd[22879]: FTP LOGIN FROM 10.200.0.132 [10.200.0.132], sistemas
ftp> user root "password"
331 Password required for root.
530 Login incorrect.
Login failed.
ftp> status
Connected to 172.19.97.35.
Type: ascii; Verbose: On ; Bell: Off ; Prompting: On ; Globbing: On
Debugging: Off ; Hash mark printing: Off .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 08:59 PM
тАО10-20-2004 08:59 PM
Re: root FTP
Check in the home directory of the session you are connecting from for a .netrc file, and remove it if there is one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 09:02 PM
тАО10-20-2004 09:02 PM
Re: root FTP
sounds to me as if there is a problem with your login. Is your password by any chance longer than 8 chars?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 09:05 PM
тАО10-20-2004 09:05 PM
Re: root FTP
...try a short password without any special characters.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 09:05 PM
тАО10-20-2004 09:05 PM
Re: root FTP
I haven├в t the file .netrc in the root home director
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 09:10 PM
тАО10-20-2004 09:10 PM
Re: root FTP
The .netrc will not be in your root home directory. It will be in the home directory of wherever you are FTPing from. Eg if you are logged into host1 as fred and ftping to host2 as root, it will be in host1:~fred
That's why I ask you to try FTPing from a Windows machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 09:15 PM
тАО10-20-2004 09:15 PM
Re: root FTP
I change the root password, but I assigned the same "root" and now the ftp works fine.
Maybe in the /etc/password had something wrong.....
Thanks