Redhat LINUX el5 _ sudo + Id commad error
Hi ,
Please find the below error and help me to resove the issue. 1. [root@Test ~]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=user_u:system_r:unconfined_t 2. [root@prgrcwebsbl01 ~]# visudo visudo: /etc/sudoers.tmp unchanged visudo: Warning: unused Cmnd_Alias DELEGATING visudo: Warning: unused Cmnd_Alias DRIVERS visudo: Warning: unused Cmnd_Alias LOCATE visudo: Warning: unused Cmnd_Alias NETWORKING visudo: Warning: unused Cmnd_Alias PROCESSES visudo: Warning: unused Cmnd_Alias SERVICES visudo: Warning: unused Cmnd_Alias SOFTWARE visudo: Warning: unused Cmnd_Alias STORAGE [root@prgrcwebsbl01 ~]# regards RPS |
Hello,
Those are not errors but only warnings from visudo, indicating that you have set up Cmnd_Aliases in your /etc/sudoers file but are not using them anywhere after defining them. If you didn't set up anything to use those command aliases then you can safely comment then out by putting a # at the beginning of the lines that refer to those aliases. Kind regards, Eric |
Quote:
context=user_u:system_r:unconfined_t - how to resolve? |
Hi,
As indicated in my first reply, run the visudo command and comment the Cmnd_alias lines you're not using by putting a # in front of them. Has nothing to do with sudo syntax or anything like that. Kind regards, Eric |
All times are GMT -5. The time now is 04:15 AM. |