Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
excluding user from ssh login
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sun Aug 24, 2008 10:06 pm    Post subject: excluding user from ssh login Reply with quote

Hi,

I've got a desktop with a 'guest' user account and I'd like to make it impossible for 'guest' to log in remotely via ssh. All other users should be able to do a remote login normally. Is there a way to do that?

J.
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 378
Location: Dayton, OH, USA

PostPosted: Sun Aug 24, 2008 10:39 pm    Post subject: Reply with quote

Code:
echo "DenyUsers guest" >> /etc/ssh/sshd_config
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sun Aug 24, 2008 10:40 pm    Post subject: Reply with quote

SiberianSniper wrote:
Code:
echo "DenyUsers guest" >> /etc/ssh/sshd_config


Thx, that was easy.

J.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum