The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Permission 711---RWX---X---X bobo UNIX for Dummies Questions & Answers 6 03-29-2006 08:50 AM
Permission? rahulrathod UNIX for Dummies Questions & Answers 1 02-13-2006 09:31 AM
permission dozy UNIX for Dummies Questions & Answers 1 12-28-2004 08:00 AM
permission help eloquent99 UNIX for Dummies Questions & Answers 2 02-12-2003 01:30 AM
Ftp permission 644 cagnod UNIX for Advanced & Expert Users 4 04-10-2002 03:42 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-04-2002
Registered User
 

Join Date: May 2002
Posts: 5
su permission

Hi Forums,

It seems to me that I can't use "su" command. When I type "su", I get the following message:
/sbin/su - Permission denied

Am I missing any thing?

By the way I am using IRIX6.5 on a SGI computer. Many thanks in advance for your help.

Cheers, Siavoush

Last edited by siavoush; 06-05-2002 at 04:40 PM.
Forum Sponsor
  #2  
Old 06-06-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Check the permissions on the file -
ls -l /sbin/su

If you can not do that, check the permissions on the directory
ls -ld /sbin

Check for read - execute on both for world or group (group would be fine as long as you belong to the group). If the file/directory do not have r-x for group or world, then you cannot excute the program.
  #3  
Old 06-06-2002
Registered User
 

Join Date: Jun 2002
Location: NJ
Posts: 10
Most System Admins will revoke users permissions to su to another user. If you are root you should never receive this error message.

If you are logged in as yourself and you type: su username

and still get the error message see your administrator.
  #4  
Old 06-07-2002
Registered User
 

Join Date: Aug 2001
Location: Switzerland, Bern
Posts: 8
hi,

how made the admin this??? i want that an error occurs wenn the user type in su!!! ist there a config file??

greetz
adme
  #5  
Old 06-07-2002
Registered User
 

Join Date: Jun 2002
Location: NJ
Posts: 10
Configuring su for a user depends on the operating system. If you are using AIX these rights can be removed using smit. If you are using another system search the companies website for user properties or security settings. Most companies will give you some information, if not all, on how to control there system via the internet.
  #6  
Old 06-10-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Dear adme,

There are several Security software packages that will monitor unauthorized access to root user which will give email to root.

Also, I don't know what OS version you are using, but in HPUX, there is a config file that allows/restricts su rights, called scfmgr.

However, it is proprietary to HPUX only. Many versions of UNIX don't regulate the su command other than changing the permissions.

Just turing off su to all except root is sometimes impossible to do because some applications, ie Oracle, NetBackup, need su ability to get to root to execute some commands as root.


You will just have to protect the root password closely.
__________________
My brain is your brain
  #7  
Old 06-11-2002
Registered User
 

Join Date: May 2002
Posts: 5
su Running with insufficient privilege.

Dear Forum,

I have changed the permission for su and now it looks like this:

-rwxr-xr-x 1 root sys 44368 Jan 25 2001 /sbin/su*

I am also a member of system and have been granted all privileges. However, when I am logged in as myself, I get the following message:

Running with insufficient privilege.

Any help much appreciated.

Cheers,
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0