[BlueOnyx:13246] CMU IMPORT FROM BLUEQUARTZ TO BLUEONYX - FTP USERS CANT LOGIN
Rodrigo Ordoñez Licona
rodrigo at xnet.mx
Thu Jun 20 21:55:04 -05 2013
Hi
Hope this helps somebody else,
We migrated a bluequartz to a blueonyx , and import went fine however some
ftp users could not login,
We searched the logs and /var/log/secure showed an "invalid shell" message,
The passwords were correct, if you tried to "ftp localhost" the password
worked
But if you used ftp www.site.com The login failed.
**To fix it we found out that in blueonyx, on /etc/passwd every user has a
record with the valid shell, normal ftp users have a /bin/badsh
Users imported from bluequartz showed /bin/false instead of /bin/badsh
---Use this with care!!!
we backed up first
cp /etc/passwd /etc/passwd.bak
cd /etc
replace bin/false bin/badsh -- passwd
then issued a
/etc/init.d/xinetd retart
And it fixed the problem
Regards
Rodrigo O
More information about the Blueonyx
mailing list