LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-07-2008, 12:37 AM   #1
ashishshukla
Member
 
Registered: May 2008
Posts: 35

Rep: Reputation: 15
Question How to disable remore ssh login access of "root" user.


Hi friends,
Kindly help me regarding how to disable remore ssh login access of "root" user. i.e. the user has to login by a normal account and then do a su.
Thanks
 
Old 10-07-2008, 12:43 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
PermitRootLogin no

in sshd_config.
 
Old 10-07-2008, 02:40 AM   #3
vibes
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
There is also the option allowusers which i perfer to use
example
allowusers test

This will only allow the user test to login via ssh
 
Old 10-07-2008, 08:55 AM   #4
ashishshukla
Member
 
Registered: May 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks a lot..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable "last login log" & disable "last login message" when start login. hocheetiong Linux - Newbie 4 02-08-2011 05:35 AM
SSH Keybased authentication for "root" user on linux. adastane Linux - Networking 2 12-13-2007 03:57 AM
I've set the "Turn off login" for root user in YaST :( lesnakupa SUSE / openSUSE 2 10-31-2006 09:09 AM
"su root" fails when I connect with normal user thru SSH AlinFaur Linux - Security 5 02-22-2006 11:26 PM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration