mirror of
https://github.com/elisspace/rtinst.git
synced 2026-08-31 08:32:36 +00:00
Update rtinst.sh
This commit is contained in:
@@ -687,7 +687,7 @@ chown -R $user:$user $home
|
||||
|
||||
cd $home
|
||||
|
||||
if [ -z "$(grep "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" /etc/sudoers)" ]$
|
||||
if [ -z "$(grep "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" /etc/sudoers)" ]; then
|
||||
echo "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" | (EDITOR="tee -a" visudo)
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user