12 Mart 2021 Cuma

Linux / sudo yetkili kullanıcılar

Aşağıdaki komut ile sudo yetkili gruplar kontrol edilebilir.

[root@servername ~]# grep -v "#" /etc/sudoers |grep "ALL="
root    ALL=(ALL)       ALL
%wheel  ALL=(ALL)       ALL

Aşağıdaki komutlar ile de grup üyeleri kontrol edilebilir.

[root@servername ~]# grep "root:" /etc/group
root:x:0:root
[root@servername ~]# grep "wheel:" /etc/group
wheel:x:10:

Hiç yorum yok:

Yorum Gönder

Windows Server IIS üzerinden hizmet veren bir FTP servisine erişmek istediğimizde;  Internet Explorer, FileZilla vb. uygulamalar ile erişim ...