LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2003, 12:58 AM   #1
nuttyvishal4u
LQ Newbie
 
Registered: Dec 2002
Posts: 26

Rep: Reputation: 15
preventing root login


Hi
How do i prevent direct root login?
Where will i get help about securing Linux?
Regards
Vishal
 
Old 01-06-2003, 04:42 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
What distro are you using???
 
Old 01-06-2003, 06:21 AM   #3
nuttyvishal4u
LQ Newbie
 
Registered: Dec 2002
Posts: 26

Original Poster
Rep: Reputation: 15
I am using Redhat Linux 8. I am using no graphical login as it is not supported.
 
Old 01-06-2003, 06:33 AM   #4
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
And, as Root, did you already create user accounts ?
 
Old 01-06-2003, 06:39 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Re: preventing root login

Quote:
Originally posted by nuttyvishal4u
Hi
Hey there!

Quote:

How do i prevent direct root login?
Not quite sure what you mean, if you mean you ONLY want to be able to access your box with admin controls via an "su -" command, let us know. If you mean something else, please tell us that. Could you just be a little more specific, it would really help. Thanks.

Quote:
Where will i get help about securing Linux?


Right here of course:
http://www.linuxquestions.org/questi...p?s=&forumid=4

Quote:
Regards
Vishal


Cool
 
Old 01-06-2003, 07:24 AM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Well read up a little bit on PAM (Pluggable Authentication Modules) - http://www.kernel.org/pub/linux/libs/pam/ , look up /etc/securetty it must be well commented and self-documenting. And also get used to sudo - http://www.sudo.ws/sudo/
There is a helpful example on setting up sudo http://www.linux4biz.net/articles/sudo.html
 
Old 01-07-2003, 11:14 PM   #7
nuttyvishal4u
LQ Newbie
 
Registered: Dec 2002
Posts: 26

Original Poster
Rep: Reputation: 15
Hi
I have already created user accounts. I dont want direct root login. I want users login to use 'su -' for login.
Regards
Vishal
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GNOME Session Manager Preventing Login jamberu Linux - Software 1 05-28-2005 08:49 PM
Preventing Login rickseiden Linux - Security 3 12-01-2004 02:45 PM
Preventing non-root mounting of floppy/cd-rom? brettjbuckley Linux - Security 1 06-03-2004 08:18 AM
Preventing root password reset J.W. Linux - Security 2 04-07-2004 03:04 AM
Preventing root processes... znapper Linux - Security 5 03-18-2004 12:18 PM


All times are GMT -5. The time now is 03:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration