LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 11:04 AM   #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, 11:38 AM   #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 01:23 PM.
 
Old 02-08-2005, 12:48 PM   #3
Duudson
Member
 
Registered: Dec 2004
Distribution: RHEL3, FC3
Posts: 53

Rep: Reputation: 15
/etc/securetty
 
  


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

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

All times are GMT -5. The time now is 10:55 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