Operating System - HP-UX
1833056 Members
2799 Online
110049 Solutions
New Discussion

how the ftponly user change their passwd

 
Li Chunbo
Occasional Advisor

how the ftponly user change their passwd

all
I setup some ftp only users, they are real users.
I disable their shell in /etc/passwd file, and
ftp1::999:999: ftp only user:/home/ftp1/./:/usr/sbin/ftpshell

/usr/sbin/ftpshell:
exit 0

/etc/shells:
/usr/bin/sh
.
.
.
/usr/sbin/ftpshell

the ftponly user will be jailed in the home directory
but I don't let the users change thire password by themself.
smile king
5 REPLIES 5
Li Chunbo
Occasional Advisor

Re: how the ftponly user change their passwd

Don't know how the ftponly users change the password by themself.
smile king
Ivan Krastev
Honored Contributor

Re: how the ftponly user change their passwd

You can use Webmin/Usermin to allow users to change their passwords via web interface.

regards,
ivan
Li Chunbo
Occasional Advisor

Re: how the ftponly user change their passwd

web mode seems good direction
smile king
Bill Hassell
Honored Contributor

Re: how the ftponly user change their passwd

ftp has no password change capability so the users cannot change their own password. And you don't want them to change the password -- they are in a chroot jail because of security reasons, so you change their password for them.


Bill Hassell, sysadmin
Ivan Ferreira
Honored Contributor

Re: how the ftponly user change their passwd

Try this:

http://www.klaban.torun.pl/prog/chpass/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?