- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user cannot ftp to a server, but can log into ...
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
01-05-2004 07:48 AM
01-05-2004 07:48 AM
user cannot ftp to a server, but can log into the server
What should I be looking for? I've looked at the normal culprit and all seem to be set up correct.
Any tips?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:53 AM
01-05-2004 07:53 AM
Re: user cannot ftp to a server, but can log into the server
Check /etc/shells. It could be that the shell the user is using is not listed in this file.
Other option in /etc/ftpusers. If the file exists only users in this file are allowed to use ftp.
HTH.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:59 AM
01-05-2004 07:59 AM
Re: user cannot ftp to a server, but can log into the server
One more thread has similar problem with ftp.
Check /etc/ftpusers and /etc/ftpaccess and /etc/shells files.
if user account present in ftpusers file then it rejects ftp.
man 4 ftpaccess for more..
-USA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 08:04 AM
01-05-2004 08:04 AM
Re: user cannot ftp to a server, but can log into the server
Sorry the user must NOT be in /etc/ftpd/ftpusers..
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 08:13 AM
01-05-2004 08:13 AM
Re: user cannot ftp to a server, but can log into the server
MIGHT(unlikely) be configured to allow telnet but not ftp to the network segment your user is on.
Of so, make a change and then.
inetd -c
To reload the internet daemon.
Its a longshot, but you might as well have all the tools you need for the job.
attaching an example file.
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
01-05-2004 08:42 AM
01-05-2004 08:42 AM
Re: user cannot ftp to a server, but can log into the server
We have ftpusers, but nothing is in the file.
We have no ftpaccess file.
/etc/shells seem to be set up right, the same as the other server.
I will check with inetd and see if anything has been changed. I doubt it but let me check anyway.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 11:32 AM
01-05-2004 11:32 AM
Re: user cannot ftp to a server, but can log into the server
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 06:00 PM
01-05-2004 06:00 PM
Re: user cannot ftp to a server, but can log into the server
**********
As that user :-
cp /etc/shells >>/tmp/shells1
echo $SHELL >>/tmp/shells1
cat /tmp/shells1 |sort -u >/tmp/shells
As root:-
cp /etc/shells /etc/shells.date +%d%m%y
cp /tmp/shells /etc/shells
Try an FTP as that user
**********
What is the error message u r getting by the way ?.
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:27 PM
01-05-2004 07:27 PM
Re: user cannot ftp to a server, but can log into the server
Also, check out /var/adm/syslog.log for messages from ftpd that might give us some more insight. Perhaps even start ftpd with the -l option for some more logging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 04:50 AM
01-06-2004 04:50 AM
Re: user cannot ftp to a server, but can log into the server
I will look at the shells more closely, but I believe the shells are set up correctly because I can ftp to the server with my normal user ID.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 06:01 AM
01-08-2004 06:01 AM
Re: user cannot ftp to a server, but can log into the server
_______________________
Jan 8 13:53:06 hserv10 inetd[4173]: telnet/tcp: Connection from G1966 (143.134.57.25) at Thu Jan 8 13:53:06 2004
Jan 8 13:50:37 hserv10 ftpd[4137]: User itapload: Login incorrect
Jan 8 13:53:46 hserv10 inetd[4212]: ftp/tcp: Connection from G1966 (143.134.57.25) at Thu Jan 8 13:53:46 2004
Jan 8 13:53:56 hserv10 ftpd[4212]: open_module: stat(/usr/lib/security/libpam_ntlm.1) failed: No such file or directory
Jan 8 13:53:56 hserv10 ftpd[4212]: load_modules: can not open module /usr/lib/security/libpam_ntlm.1
Jan 8 13:53:56 hserv10 ftpd[4212]: load_modules: pam_sm_acct_mgmt() missing
Jan 8 13:53:56 hserv10 ftpd[4212]: PAM_ERROR_MSG: Account is disabled - see Account Administrator.
Jan 8 13:53:56 hserv10 ftpd[4212]: pam_acct_mgmt:Account is disabled - see Account Administrator. 134217759
Jan 8 13:53:56 hserv10 ftpd[4212]: User itapload: Login incorrect
Jan 8 13:53:58 hserv10 ftpd[4212]: FTP session closed
___________________________
The log shows pam_acct_mgmt:Account is disabled. How can an account be disabled when I can log into the account? I can log into the account but not FTP to the server. Is there another security account for FTP access to the server?
Thanks.