Register
It is currently Tue Nov 25, 2014 2:33 pm

preventing root login


All times are UTC - 6 hours


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 PostPosted: Tue Nov 09, 2010 4:56 am   

Joined: Tue Nov 09, 2010 4:55 am
Posts: 1
hi all, i need a script to help me prevent root logins
etc changing the console=parameter


Top
 Profile  
 PostPosted: Tue Nov 09, 2010 8:55 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 673
Location: Des Moines, Iowa
dog wrote:
hi all, i need a script to help me prevent root logins
etc changing the console=parameter



What distro are you using ?

If your just wanting to prevent root login via ssh that's in /etc/shh/sshd_config

If you want to further restrict access look into
/etc/security/access.conf


Top
 Profile WWW  
 PostPosted: Wed Nov 10, 2010 4:52 am   
User avatar

Joined: Tue Apr 27, 2010 2:28 pm
Posts: 172
Location: Czech Republic
You can also disable root logins by setting root's shell to exit. :)


Top
 Profile  
 PostPosted: Wed Nov 10, 2010 4:56 am   
Moderator
User avatar

Joined: Thu Oct 11, 2007 7:12 am
Posts: 229
Location: London - UK
choroba wrote:
You can also disable root logins by setting root's shell to exit. :)


Note that this is very easy to get around as commands can be run without entering a shell.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP