Visit Our UNIX and Linux User Community


su - manager


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users su - manager
# 1  
Old 06-06-2002
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
# 2  
Old 06-07-2002
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.

Previous Thread | Next Thread
Test Your Knowledge in Computers #834
Difficulty: Medium
JSON supports comments.
True or False?

7 More Discussions You Might Find Interesting

1. Linux

Configuration manager

Hello Dears, I am up to implement cnfiguration manager as the number of Linux systems are growing alot in my company. can please advise any of them? Puppet, spicewalk ansilble etc.. please share you opinion. My aim is to have config manager to automate/provision systems and to have inventory... (5 Replies)
Discussion started by: Vit0_Corleone
5 Replies

2. Red Hat

HP Performance Manager

Hello I'm having an issue with HP Performance Manager Version: 9.20.000 running on a Linux VM . If the VM is re booted PM does not start automatically. I have to start it up manually using "ovpm start" Is there a way of setting PM to start automatically after a reboot. Thanks... (2 Replies)
Discussion started by: Cully
2 Replies

3. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

4. Solaris

X-manager

Dear all ! When I use X-manager 1.3.9 to connect with server in HP -Unix .It's okey But when I use it to connect with Sun Solaris 8 .It can't display So can you help me to solve this (4 Replies)
Discussion started by: iwbasts
4 Replies

5. UNIX for Dummies Questions & Answers

File Manager?

Another dumb question for you UNIX Guru's. Again I am a very new UNIX user so go easy on me, trying to convert from MSWIN I have a PC on my desk running Solaris. My PC is connected to a LAN in the office. The LAN then has other systems (celluar switches) connected to it that I can "rsh" into... (5 Replies)
Discussion started by: dereckbc
5 Replies

6. UNIX for Dummies Questions & Answers

Policy Manager

I have searched all over the SCO website and can't seem to find an answer to this error message. Has anyone seen the following error, and if so what steps do I need to take to fix it? I don't really want to reload the entire OS if I don't have to. LOGIN: ERROR- Failed to initialize policy... (1 Reply)
Discussion started by: mikeinmi
1 Replies

7. Linux

Login Manager

I do not wish to use the Gnome Login Manager anymore, how can I swtich to the KDE login manager? I can already edit the KDE manager in Control Center for KDE, but it doesnt use it. BTW i use KDE 3.1 window manager. One last thing, How can I log into my computer remotly? (2 Replies)
Discussion started by: erhan_j
2 Replies

Featured Tech Videos