Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some users not in /etc/ftpusers cannot FTP

Status
Not open for further replies.

JohnnyW

ISP
Apr 19, 2001
2
CA
Any usernames that have been created recently, or have been changed (ie passwords have been changed) cannot ftp to the AIX 4.3.2.0 server. Previously they could.

I have checked /etc/ftpusers and the usernames that cannot ftp are not listed there. There are no other access files (ftpaccess, ftphosts, etc).
 
any ftp.deny files look in /etc/security/ or find /etc -name *deny*
are perms on ftpusers ok?
 
I figured it out and it is a very simple problem.

When a new user hasn't logged in yet and are required to change their password (flags = ADMCHG in /etc/security/passwd) then they can't ftp.

The flag is also changed to ADMCHG when root changes a users password.

Because of firewall restrictions we always use ssh instead of telnet and ssh doesn't prompt to change the password on first time logins, so this flag never goes away. I have the users connect with ssh then telnet to local host and it prompts them to change the password and everything works like a charm.

Thanks for the suggestions.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top