The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
system manager on 10 itik SUN Solaris 2 02-10-2008 01:33 AM
X-manager iwbasts SUN Solaris 4 03-29-2006 03:40 AM
Policy Manager mikeinmi UNIX for Dummies Questions & Answers 1 07-22-2004 12:18 PM
Login Manager erhan_j Linux 2 10-17-2003 03:11 PM
Back Up Manager anthonyp UNIX for Dummies Questions & Answers 6 05-20-2003 01:53 PM

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

Join Date: Aug 2001
Posts: 60
su - manager

Hi,

I'm already login as clerk(not a superuser) on unix machine,
from clerk, Since clerk does not have permision to run a script, forcefully I want to login as manager and run the script and I don't want to give a manager's password to clerk.
Can I encrypt password ( or make an exe file from c program to connect as manager and run the script and come out of manager)


$su - manager
Now system asking me to enter password
Is there any possibility to hardcored password in a file?

Thanks in advance for your early reply,
Krishna
Forum Sponsor
  #2  
Old 06-06-2002
Registered User
 

Join Date: Jan 2002
Location: India
Posts: 111
Well if I figure out the problem correctly , you want to grant execute permission to another user, such that when the user logs in he can only execute the file. If it is so then it is quiet sensible enough to just change the file prermissions according to the requirement.
__________________
Regards,
Satya Prakash Prasad
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 09:54 AM.


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