[clue] impersonation

David L. Willson DLWillson at TheGeek.NU
Mon Apr 21 14:20:04 MDT 2014


That'll probably be the way I end up doing it, but what if I wanted to give my user the ability to get a full, interactive login shell with the profile and rc's of the user they impersonate?


Sent from my Verizon Wireless 4G LTE Smartphone

<div>-------- Original message --------</div><div>From: Jim Ockers <ockers at ockers.net> </div><div>Date:04/21/2014  1:59 PM  (GMT-07:00) </div><div>To: CLUE's mailing list <clue at cluedenver.org> </div><div>Subject: Re: [clue] impersonation </div><div>
</div>Hi David,

Try: sudo -u otheruser command

Jim

--
Jim Ockers, P.E., P.Eng. (ockers at ockers.net)
Contact info: http://www.ockers.net/
-----Original message-----
From: David L. Willson <DLWillson at TheGeek.NU>
Sent: Monday 21st April 2014 12:58
To: CLUE's mailing list <clue at cluedenver.org>
Subject: [clue] impersonation

How do you let one non-privileged user impersonate (become) another non-privileged user?

When *I* need to impersonate a user, I run: sudo su - some_user, but I don't want the regular users doing that. Or, do I?

--
David L. Willson
Teacher, Engineer, Evangelist
RHCE+Satellite CCAH Network+ A+ Linux+ LPIC-1 UbuntuCP NovellCLA
Mobile 720-333-LANS(5267)
http://sofree.us

This is a good time for a r3VOLution.

_______________________________________________

clue mailing list: clue at cluedenver.org

For information, account preferences, or to unsubscribe see:

http://cluedenver.org/mailman/listinfo/clue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20140421/57d1ff4f/attachment.html 


More information about the clue mailing list