mps-yetkilendir

This commit is contained in:
milisbir 2018-11-25 19:09:26 +02:00
parent a8e83c7e16
commit 7ef67bcfce
1 changed files with 1 additions and 1 deletions

View File

@ -4,4 +4,4 @@ echo "mps yetkili kullanıcı ismini giriniz. ör: mps_yetkilendir ali"
exit 1 exit 1
} }
[ $1 ] && user=$1 || _hata [ $1 ] && user=$1 || _hata
sudo echo "${userx} ALL=(ALL) NOPASSWD:/root/bin/mps" >> /etc/sudoers sudo echo "${user} ALL=(ALL) NOPASSWD:/root/bin/mps" >> /etc/sudoers