Enable admin sudoer in non-image install
This commit is contained in:
parent
e3a246cd4e
commit
cf9ce1c0bf
|
@ -279,10 +279,6 @@ configure_ssh() {
|
|||
fi
|
||||
}
|
||||
|
||||
admin_user_sudo() {
|
||||
echo "$MY_USERNAME ALL=(ALL) ALL" >> $rootdir/etc/sudoers
|
||||
}
|
||||
|
||||
create_generic_image() {
|
||||
if [[ $DEBIAN_INSTALL_ONLY != "no" ]]; then
|
||||
return
|
||||
|
|
|
@ -107,6 +107,10 @@ function initial_setup {
|
|||
mark_completed $FUNCNAME
|
||||
}
|
||||
|
||||
function admin_user_sudo {
|
||||
echo "$MY_USERNAME ALL=(ALL) ALL" >> $rootdir/etc/sudoers
|
||||
}
|
||||
|
||||
function search_for_attached_usb_drive {
|
||||
# If a USB drive is attached then search for email,
|
||||
# gpg, ssh keys and emacs configuration
|
||||
|
@ -412,6 +416,9 @@ function setup_utils {
|
|||
|
||||
function_check install_tomb
|
||||
install_tomb
|
||||
|
||||
function_check admin_user_sudo
|
||||
admin_user_sudo
|
||||
}
|
||||
|
||||
function setup_email {
|
||||
|
|
Loading…
Reference in New Issue