[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos
Subject:    Re: [CentOS] root privilleges momentarily
From:       Georghy <fusco () wanagain ! net>
Date:       2010-03-31 8:42:51
Message-ID: 4BB30B0B.8070005 () wanagain ! net
[Download RAW message or body]

Tom H a écrit :
>>>> I'm searching for a way to have root privileges momentarily
>>>> like on ubuntu with the sudo <user> <command>
>>>>         
>
>   
>>>> I tried su - <command> and su -l root <command> on my CentOS server but
>>>> it doesn't work
>>>> how should I do ?
>>>>         
>
>   
>>>> sorry for the disturbance I'm new in RH Linux distro
>>>>         
>
>   
>>> Sounds like you have your solution... Install sudo and configure it so
>>> that particular users can use sudo to temporarily gain root
>>> privileges.  You may even be able to copy your /etc/sudoers from
>>> Ubuntu directly to CentOS.
>>>       
>
>   
>> there's no way to use su without installing new packages ?
>>     
>
> su -c
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
It worked thanks fo the tips :)

-- 
Cordialement, / Greetings,
Georghy FUSCO

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic