LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-31-2010, 12:12 AM   #1
hansemmanuel
LQ Newbie
 
Registered: Feb 2010
Posts: 13

Rep: Reputation: 0
How can disable su for normal users?


right now all of our users are able to log in to other user using su as root.Because root privilege is necessary for our work.
we r using LDAP authentication(centralized)..

What we want to do to disable su usage to log in as other user?
 
Old 03-31-2010, 12:17 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by hansemmanuel View Post
right now all of our users are able to log in to other user using su as root.Because root privilege is necessary for our work.
we r using LDAP authentication(centralized)..

What we want to do to disable su usage to log in as other user?
Remove the execute permission from /bin/su for group and others:
Quote:
#chmod o-x /bin/su
# chmod g-x /bin/su
 
  


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
How to disable password changing permissions to normal users ? toraghun Linux - Newbie 14 11-17-2005 11:17 AM
Normal users can't su to root? Why not? jon_k Linux - Software 12 07-09-2004 05:09 PM
I want to allow normal users for mounting bacon22 Linux - General 9 01-29-2004 03:29 AM
snes9express and normal users murray_linux Slackware 12 12-20-2003 04:56 PM
Disable reboot/halt/shutdown as normal user carstenbjensen Mandriva 4 09-09-2003 12:42 PM


All times are GMT -5. The time now is 06:45 PM.

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