LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-08-2005, 12:04 PM   #1
vijaysh
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
how to make root login disable


hello,
I am using Redhat linux where I want to make disabled the root login.But make able to su for the use of file system and other permission work after logining the normal user.If anyone help me how to do this.
thank you
 
Old 02-08-2005, 12:38 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
The system needs root to operate, so you can't disable (i.e. remove) him completely. You can set it to a horribly difficult password and forget what it is though. Something like P,},<&EVZ=oBqB[7!. should do nicely (don't actually use this obviously, it's just an example).

EDIT: the post below more correctly answers your question. I saw "su" but read "sudo" which would be the better way to do this as you can control the what commands users can run with elevated rights.

Last edited by sigsegv; 02-08-2005 at 02:23 PM.
 
Old 02-08-2005, 01:48 PM   #3
Duudson
Member
 
Registered: Dec 2004
Distribution: RHEL3, FC3
Posts: 53

Rep: Reputation: 15
/etc/securetty
 
  


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
Disable Root login via ssh UltraSoul Solaris / OpenSolaris 3 02-09-2007 03:18 AM
disable root login via ssh with one exeption inoxtech Linux - Security 3 06-30-2005 12:28 PM
disable root login with ssh linuxtesting2 Slackware 3 02-16-2005 01:33 PM
How can I disable root login with SSH? blk96gt Slackware 9 10-02-2004 08:09 AM
Disable/Enable Root Login @ Console ryanstrayer Linux - Security 4 01-18-2002 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:13 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
Open Source Consulting | Domain Registration