[sudo-users] How do I use visudo to allow users to su another account?

Pidugu Vijaya Vijaya.Pidugu at sig.com
Fri Feb 6 13:00:42 EST 2009

Create a script and enable that user to be able to run that script.
Make sure the script is owned by root and has only execute for others.
The script should have "su - useraccount"!

-----Original Message-----
From: sudo-users-bounces at courtesan.com [mailto:sudo-users-bounces at courtesan.com] On Behalf Of Matthew Barrett
Sent: Friday, February 06, 2009 12:55 PM
To: Sudo USers
Subject: [sudo-users] How do I use visudo to allow users to su another account?

I have regular users who need to sudo to an account with web directory
access to update web sites. Some can "sudo - webuser" and enter their
password with no problem. One user could before and now have lost the
ability. I've taken over the responsibility and am not sure how to do
this. Any ideas would be appreciated?

matthew.barrett at iovate.com

sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

More information about the sudo-users mailing list