Koozali.org: home of the SME Server

ssh for normal users ?

Offline fpausp

  • *
  • 728
  • +0/-0
ssh for normal users ?
« 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
Viribus unitis

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ssh for normal users ?
« Reply #1 on: September 11, 2012, 05:57:23 PM »
to do what? :-)

Offline fpausp

  • *
  • 728
  • +0/-0
Re: ssh for normal users ?
« Reply #2 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.
Viribus unitis

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: ssh for normal users ?
« Reply #3 on: September 11, 2012, 08:31:46 PM »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline fpausp

  • *
  • 728
  • +0/-0
Re: ssh for normal users ?
« Reply #4 on: September 11, 2012, 10:06:01 PM »
OK, i need some time for testing ...

best
fpausp
Viribus unitis

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ssh for normal users ?
« Reply #5 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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline fpausp

  • *
  • 728
  • +0/-0
Re: ssh for normal users ?
« Reply #6 on: September 15, 2012, 09:42:18 PM »
Thanks for you comments, I will try it next week ...

Best
fpausp
Viribus unitis

guest22

Re: ssh for normal users ?
« Reply #7 on: September 16, 2012, 01:54:09 PM »
Maybe this is what you want?

http://wiki.contribs.org/Remoteuseraccess