Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: fpausp on September 11, 2012, 04:31:19 PM

Title: ssh for normal users ?
Post by: fpausp on September 11, 2012, 04:31:19 PM
hi,

i like to allow a normal user a ssh-login (with key) to my server, can anyone give me a hint please ?

best
fpausp
Title: Re: ssh for normal users ?
Post by: Stefano on September 11, 2012, 05:57:23 PM
to do what? :-)
Title: Re: ssh for normal users ?
Post by: fpausp on September 11, 2012, 07:02:51 PM
just to connect to the lan and use some services, i cannot use pptp because the other side has just a micro-linux.
Title: Re: ssh for normal users ?
Post by: cactus on September 11, 2012, 08:31:46 PM
Did you already look at http://wiki.contribs.org/SSH_Public-Private_Keys ?
Title: Re: ssh for normal users ?
Post by: fpausp on September 11, 2012, 10:06:01 PM
OK, i need some time for testing ...

best
fpausp
Title: Re: ssh for normal users ?
Post by: janet on September 11, 2012, 11:05:23 PM
fpausp

Using that Howto, you would create key pairs for normal users rather than the root user.
Also edit /etc/sudoers to specify/limit/control what those users can do
eg
http://www.linuxquestions.org/questions/slackware-14/how-to-make-a-user-a-sudoer-636926/

Also look up the use of the command
sudo

You should also look at this contrib, which adds a server manager panel to help control user access
http://wiki.contribs.org/Remoteuseraccess
yum install --enablerepo=smecontribs --enablerepo=sme7contribs smeserver-remoteuseraccess
Title: Re: ssh for normal users ?
Post by: fpausp on September 15, 2012, 09:42:18 PM
Thanks for you comments, I will try it next week ...

Best
fpausp
Title: Re: ssh for normal users ?
Post by: guest22 on September 16, 2012, 01:54:09 PM
Maybe this is what you want?

http://wiki.contribs.org/Remoteuseraccess