![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |