Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Stephen Davis on March 18, 2001, 07:48:17 AM
-
Simple question.
What is the procedure to allow specific users or specific groups access to SSH or if necessary Telnet access. The web interface does not specify on/off for this feature and the manual states only 'root' and 'admin' have remote access to an e-smith box. I want to give certain groups access to telnet or ssh to use the php/mysql feature set. And this can only be done with access to a terminal.
Thanks in advance, Steve
-
simple answer.
only root/admin should have permission to change these files.
if you need other users to have access to the shell, you need to change that users shell interface (for security reasons, e-smith has the shell interface switched off by default for 'non-superusers'). to do this, log in to the shell as root and execute the command 'chsh' as follows:
chsh -s /bin/bash username
where username is the users login. warning - non privledged users may not have access to the php/mysql files; this is a file permissions issue. general rule of thumb is that if they don't have access, they probably shouldn't.
if you've got your heart set on giving users access, and this hasn't helped, look yourself up some info regarding php, mysql, linux security, etc... a good place to start is www.linuxdoc.org
hoping this has helped,
zac