On Wed, 2 Mar 2011, Phil Pennock wrote: > On 2011-03-02 at 11:54 -0600, Matt Lawrence wrote: >> Is there some sort of special handling for su? Is there a good >> workaround? They really want to do "su - <user>" so that the environment >> is being set correctly. > > sudo -u ggs -i > sudo -u ggs -i <cmd> > > The -i option, "simulate initial login", may prove useful.
Oddly enough, I don't get any output or errors when I do "sudo -u ggs -i ls". Looks like I need a different solution. -- Matt It's not what I know that counts. It's what I can remember in time to use. _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/