From: Jamie C. <jca...@we...> - 2007-07-24 07:03:17
|
On 23/Jul/2007 17:52 Thomas Leavitt wrote .. > I keep on having to reset my user accounts to "FTP and SSH", they keep > on getting set back to FTP only. > > This may be the cause of the problem: setting an account to "FTP and > SSH" causes the passwd file to be updated to /usr/sbin/scponlyc (the > chrooted version). I don't want to use the chrooted version of > scponly... i just want /usr/bin/scponly, so I manually reset the shell > entry to, in /etc/passwd after the update is completed. Perhaps > webmin/virtualmin doesn't recognize this, and resets the account to FTP > only? > > here is my /etc/shells file > > # cat /etc/shells > /bin/bash > /bin/csh > /bin/ksh > /bin/sh > /bin/tcsh > /bin/false > /usr/bin/scponly > /usr/sbin/scponlyc > > Webmin 1.350 > Virtualmin v 3.43 gpl On the Module Config page, what do you have set for the 'Shell for FTP users' ? >From the error you reported, it sounds like this is set to /usr/bin/scponly , when it should really be something like /bin/false - Jamie |