View Full Version : How can i disable SSH access for all reseller and client
albertg
07-11-2004, 04:49 AM
Hi,
Wondering whether if there is an option i can set to disable SSH access for resellers / clients.
Perhaps, when creating a new package, the option to enable/disable SSH can be hide / or set to disable by default and cannot be switch on.
Thanks.
thuskey
07-12-2004, 06:35 AM
When logged in as admin, you can modify your resellers priviledges to limit them from being able to grant ssh access to their users. It won't hide the option, but it will grey out the box so they can not select it.
kserg
07-29-2004, 10:33 AM
Originally posted by thuskey
When logged in as admin, you can modify your resellers priviledges to limit them from being able to grant ssh access to their users. It won't hide the option, but it will grey out the box so they can not select it.
In sshd-config (or something like that) which is located in /etc/ssh/ (this is redhat) there is a line that says "allowusers" rm every line that starts with that except for root or user u want to access it... restart ssh... tada
Thats an manual way:)
LyricTung
08-05-2004, 11:50 AM
Originally posted by thuskey
When logged in as admin, you can modify your resellers priviledges to limit them from being able to grant ssh access to their users. It won't hide the option, but it will grey out the box so they can not select it.
Actually, this method does not work on any of my FreeBSD servers. On some servers, I've semi-autmated the manual method; on others, I guess, I've ignored it for now.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.