Rewrite add user to reflect changes in adduser syntax
This commit is contained in:
@@ -33,10 +33,10 @@ step_3() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
exe adduser \
|
exe adduser \
|
||||||
--disable-password \
|
--disabled-password \
|
||||||
--gecos "User to run $toolName Media Center" \
|
--gecos "User to run $toolName Media Center" \
|
||||||
-G audio,video,plugdev,input,tty \
|
|
||||||
$toolUser
|
$toolUser
|
||||||
|
exe usermod -a -G audio,video,plugdev,input,tty $toolUser
|
||||||
saveReturn $?
|
saveReturn $?
|
||||||
endReturn
|
endReturn
|
||||||
echo "User $toolUser details:"
|
echo "User $toolUser details:"
|
||||||
@@ -127,5 +127,5 @@ step_7() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
VERSION_SEQREV=4
|
VERSION_SEQREV=10
|
||||||
. sequencer.sh
|
. /usr/local/bin/sequencer.sh
|
||||||
|
Reference in New Issue
Block a user