Re: how to setup account which can 'su" to another account (NON-root)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 19 August 2010 20:12, Tom H <tomh0665@xxxxxxxxx> wrote:
> On Thu, Aug 19, 2010 at 2:47 PM, mcclnx mcc <mcclnx@xxxxxxxxxxxx> wrote:
>> Sorry.  following way does NOT work.
>> user1 (ALL)=user2 /bin/bash
>> Leave off su entirely and
>> sudo -H user2 -i
>> as user1
>
> Because you have to run
> sudo -i -u user2
> as user1
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

Missed the right bit off the top of my head on the train on the way
home.... you can always check the man pages for arguments.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux