The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
su root from normal user karthikn7974 Shell Programming and Scripting 0 04-24-2008 06:16 PM
Running a Unix command as a different user Andrewkl UNIX for Advanced & Expert Users 4 03-20-2008 01:52 AM
Normal User Unable to Login Through AIX CDE ranadeep AIX 1 03-07-2008 03:05 AM
Restricing normal user from poweroff jagdish.machhi@ Linux 1 10-08-2007 08:16 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 09:18 AM

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

Join Date: Mar 2005
Posts: 6
Running su command from normal user

Hi,

I have to write a functionality on AIX m/c, in which I have to execute su command from some normal user (other than root).

I have created two users, u1 and u2 and put both the users in same group.
I logged in with user u1 and tried to su to u2 but was not able to do so.
Where as if i am logged in with root, can su to u2.

Can anybody tell me what is prerequisite for executing su command.
or what can be the reason for this?

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 04-06-2005
bhargav's Avatar
Registered User
 

Join Date: Sep 2004
Location: USA
Posts: 511
Have you tried

su - u2 ?
Reply With Quote
  #3  
Old 04-19-2005
Registered User
 

Join Date: Apr 2005
Posts: 2
Did you set:
Another user can SU TO USER? true

?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




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