LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-28-2007, 02:28 AM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
deny login to users


i am using linux ES-4

i want to restrict all my juniors to login to linux server from the GDE/KDM or using login from F1 to F6 terminals except me (root). they should be allowed to login from remote system using any of the utiltities such as ssh, rsh , telnet etc.

i was reading about /etc/securetty file but need your help wither to use this file or some other way out.
 
Old 02-28-2007, 03:01 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Don't know about securetty file, but I'd like to point out that you should try to avoid using root login; instead you should configure one regular user for yourself, that would have access to sudo for example, and only use root permissions when really needed; that may increase security.

One way is of course to lock the computer up so that nobody can access it, except you (i.e. have somekind of key+lock pair to prevent attaching keyboards and stuff to the machine, or just lock the machine into a closet). That's an easy and sure way, and if it's a server machine, there should be no need to log in it locally very often; most administrative tasks can be done using ssh.

Another thing is: why would you want to prevent local logins? I mean, if the machine is not locked up into a bullet-proof closet, somebody could just bring a laptop with a wireless connection, then log in trough ssh and that would basically be much if not just the same situation as if the person had a keyboard connected straight to the machine and logged in locally.
 
  


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
ssh: deny all users, except one hamish Linux - Security 13 09-07-2008 07:58 PM
HowTo sshd deny all users except for one? mattengland Linux - Security 28 11-04-2007 02:53 PM
Deny SSH-users to read filesystem, except their homedirs? Waerner Linux - Newbie 2 02-12-2006 07:44 AM
Deny some users access to the web with IPtables? osX-linux Linux - Networking 4 06-22-2003 01:42 PM
how to deny all users in vsftp except one? lzyking Linux - Software 7 12-11-2002 10:02 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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