brainarm38802
asked on
Selectively disable SSH and FTP
I am running Mandrake 9 with SSH, FTP and Apache. I want to allow all of my users to access the server via FTP, but I only want administrators to access it via SSH.
I tried to edit the /etc/security/access.conf file, but it didn't work for me, maybe I used incorrect syntax.
-:<group>:ALL
I also tried changing the shell in /etc/passwd from /bin/bash to /sbin/nologin, but that eliminated FTP access too.
Any suggestions would be helpful! Thanks
Matthew Brainard
brainarm_mweb@yahoo.com
I tried to edit the /etc/security/access.conf file, but it didn't work for me, maybe I used incorrect syntax.
-:<group>:ALL
I also tried changing the shell in /etc/passwd from /bin/bash to /sbin/nologin, but that eliminated FTP access too.
Any suggestions would be helpful! Thanks
Matthew Brainard
brainarm_mweb@yahoo.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
DenyGroups <group>
Now that I feel stupid for asking the question, and then answering it myself; I will be nice and award the first person to leave a response the 50 points.