mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -66,7 +66,7 @@ Install_csvn()
|
||||
if id -u csvn > /dev/null 2>&1; then
|
||||
echo "csvn user exists"
|
||||
else
|
||||
groups csvn
|
||||
groupadd csvn
|
||||
useradd -g csvn csvn
|
||||
cp /etc/sudoers{,.`date +"%Y-%m-%d_%H-%M-%S"`}
|
||||
echo "csvn ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
|
||||
Reference in New Issue
Block a user