fixed 'sudoers' modification
This commit is contained in:
parent
43b3afbf56
commit
1bc5a06846
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ printf "|> adding user '$user' to group 'cdrw'...\n" && addgroup "$user" cdrw
|
|||
printf "|> adding user '$user' to group 'usb'...\n" && addgroup "$user" usb
|
||||
|
||||
printf "|> modifying sudoers...\n"
|
||||
sed -i "s/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/" "/etc/sudoers"
|
||||
sed -i "s/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/" "/etc/sudoers"
|
||||
|
||||
printf "|> disabling root login via ssh...\n"
|
||||
sed -i "s/DROPBEAR_OPTS.*/DROPBEAR_OPTS=\"-w\"/" "/etc/conf.d/dropbear"
|
||||
|
|
Loading…
Reference in a new issue