The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 11:50 AM
Permission? rahulrathod UNIX for Dummies Questions & Answers 1 02-13-2006 12:31 PM
permission dozy UNIX for Dummies Questions & Answers 1 12-28-2004 11:00 AM
permission help eloquent99 UNIX for Dummies Questions & Answers 2 02-12-2003 04:30 AM
Ftp permission 644 cagnod UNIX for Advanced & Expert Users 4 04-10-2002 06:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-04-2002
siavoush siavoush is offline
Registered User
  
 

Join Date: May 2002
Posts: 6
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 07:40 PM..
  #2 (permalink)  
Old 06-06-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
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 (permalink)  
Old 06-06-2002
epdgesell epdgesell is offline
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 (permalink)  
Old 06-07-2002
adme adme is offline
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 (permalink)  
Old 06-07-2002
epdgesell epdgesell is offline
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 (permalink)  
Old 06-10-2002
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
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.
  #7 (permalink)  
Old 06-12-2002
siavoush siavoush is offline
Registered User
  
 

Join Date: May 2002
Posts: 6
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,
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 07:03 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