Correct usermod for old user
This commit is contained in:
parent
1014027657
commit
6022605ff6
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ checkaurdependencies(){
|
||||||
else
|
else
|
||||||
mkdir /tmp/aurbuilder 1&>/dev/null
|
mkdir /tmp/aurbuilder 1&>/dev/null
|
||||||
chmod 777 /tmp/aurbuilder
|
chmod 777 /tmp/aurbuilder
|
||||||
usermod -d /tmp/aurbuilder aurbuilder 1&>/dev/null
|
usermod -d /tmp/aurbuilder aurbuilder
|
||||||
fi
|
fi
|
||||||
if [ ! -f /etc/sudoers.d/aurbuilder ]; then
|
if [ ! -f /etc/sudoers.d/aurbuilder ]; then
|
||||||
echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder
|
echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder
|
||||||
|
|
Loading…
Reference in a new issue