Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: how to su in a script ?

by MidLifeXis (Monsignor)
on Jun 03, 2014 at 17:02 UTC ( [id://1088463]=note: print w/replies, xml ) Need Help??


in reply to how to su in a script ?

A couple of comments indirectly related to this question:

  • Do you manage the set of users that should access this utility in some centralized database (LDAP, ADAM, NIS+, ...)? If so, it may be worth while to add the group to the sudoers file. By adding the group (and tying it to your central user database), your management becomes much easier, and adding or removing access happens as part of your central operations instead of as a one-off step.
  • If you have the password available in the perl script, the user will be able (given sufficient tools) to read the perl script and find the password to the account. Perl scripts (typically) must be readable by the users that are executing them.

--MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1088463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found