Thanks for all who replied: My problem is: How do I create a user with no shell but has ftp access, in > Solaris 2.6. > > Because I want to allow ftp but not telnet, I assign > /bin/false for the > user > shell and gave him his real home directory, but when I do it > denied both > service. > Solution: Create a file called /etc/shells with all the shells in your system on it: ls -la /bin/*sh | awk -F" " '{print $9}' > /etc/shells then add /bin/false and /bin/true to it and assign it as a shell to a particular user usermod -s /bin/true (user) the user will not be able to telnet or ssh but will be able to ftp Thanks to all. -- Lito A. Lampitoc Foundation for Communication Initiatives phone:+63(2)8941345 CodeWAN Project http://www.codewan.com.ph -- Things which matter most must not be in the mercy of things which matter least" - Goethe. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Feb 12 01:55:17 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST