mirror of
https://github.com/rorydavidson/ssh_access.git
synced 2025-07-01 11:37:59 +02:00
Update create_rda_user_with_sudo_access.sh
This commit is contained in:
@ -4,7 +4,7 @@ MY_SHELL=$( which bash )
|
||||
|
||||
/usr/sbin/useradd -c 'Rory Davidson <rda at ihtsdo.org>' -s ${MY_SHELL} -m rda
|
||||
cat >/etc/sudoers.d/rda-ALL <<EOF
|
||||
kaik ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
rda ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
EOF
|
||||
chmod 0440 /etc/sudoers.d/rda-ALL
|
||||
mkdir ~rda/.ssh
|
||||
|
Reference in New Issue
Block a user