The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Disable GUI HP-UX mdjuarsa HP-UX 1 10-06-2007 08:51 AM
disable rsh sriram.s AIX 3 05-11-2007 01:18 PM
Disable X window XP_2600 SUN Solaris 4 09-24-2006 12:18 PM
disable su sak900354 UNIX for Dummies Questions & Answers 2 06-15-2006 04:56 AM
Disable X bbutler3295 UNIX for Dummies Questions & Answers 8 03-19-2002 07:19 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-27-2007
civic2005 civic2005 is offline
Registered User
  
 

Join Date: May 2005
Posts: 18
How to disable SU right

Anyone know how to disable SU right for a particular user in Solaris 8
  #2 (permalink)  
Old 03-08-2007
jarel jarel is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 3
try with an acl (Acces Control List) for the command su. Deny rwx for the user that you want
  #3 (permalink)  
Old 03-09-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
One common approach is to create a group called "wheel". Then:
chgrp wheel /usr/bin/su
chmod 4550 /usr/bin/su
Now su can be run by root and by members of the group wheel. So you put some users in that group to allow them access to the su command.

It is traditional to call the group "wheel", but I don't know where that name came from. Possibly from "big wheel" which is slang for important person?
  #4 (permalink)  
Old 03-09-2007
auditd auditd is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 22
Quote:
Originally Posted by civic2005
Anyone know how to disable SU right for a particular user in Solaris 8
You should not change the default file permissions and/or group of Solaris binaries, instead you should use RBAC and turn non-personal accounts into roles. Then you have to assign explicit permission to be able to assume the role (i.e. "su - role").

If you describe what problem you are trying to it is easier to suggest a good solution.
  #5 (permalink)  
Old 12-16-2008
melias melias is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 43
Unless your root, you need to know the password for the account you're su'ing to. If I know the account's password, I don't need to su, I can simply login to the account as a normal user. Can you change passwords so that the user does not have access to any accounts that are not his/hers?

Simply denying access to su will only stop a user from switching user accounts. It will not stop the user performing an interactive login into the specified account, which has the same end result.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0