mps-yetkilendir
This commit is contained in:
parent
a8e83c7e16
commit
7ef67bcfce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue