1834571 Members
3195 Online
110069 Solutions
New Discussion

Re: ftp login question

 

ftp login question

Hi there,
Mine is not a problem but i'm just trying to figure out something, and i need to do that:

A password-change-forced-at-next-login-user cannot ftp to server,as normal...Is there a way to warn that user like "you have to change your password, do this, do that,etc..."

any ideas are wellcome...

thx...
it's all a game
3 REPLIES 3
Zeev Schultz
Honored Contributor

Re: ftp login question

man ftpaccess (for standard hp-ux ftp server)
optons "banner" (prints some message before user logs on) or "message" - during log on.

Add "-d" tp ftpd in /etc/inetd.conf when using ftpaccess and let inetd to reread configuration file with "inetd -c".

I think the message would be of informative type like "Attention!If you can't log on your password may have expired, please change ...etc".

So computers don't think yet. At least not chess computers. - Seymour Cray
Zeev Schultz
Honored Contributor

Re: ftp login question

sorry, its "-a" for ftpd in /etc/inetd.conf
So computers don't think yet. At least not chess computers. - Seymour Cray
Bernhard Mueller
Honored Contributor

Re: ftp login question

Not sure what exactly you want to achieve but some hints would be

passwd -f
- to set forced passwd change upon next login
setup /etc/ftpd/ftpaccess
- to write a welcome message that inform ftp'ing users upon login about your special setup

man ftpaccess gives you a lot of information

there is also /usr/newconfig/etc/ftpd/examples/ftpaccess

HTH
Regards,
Bernhard