Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Activate root account without password in preseed file

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Kyras
Posts: 1
Joined: 2017-09-16 10:26

Activate root account without password in preseed file

#1 Post by Kyras »

I need to create minimal preseed file that will activate root account without password.
Preseed file page does not specify all configuration values, but only mentions that, it is possible to activate root account but requires password.

Disclaimer:
I understand risks of root account without password, but this preseed file is required for VM contextualisation which requires active root without password from fresh installation
and will automatically set the password at the first boot.

User avatar
Capitain_Jack
Posts: 153
Joined: 2017-12-15 12:07
Location: Brazil capital, Brasilia, At the favela.

Re: Activate root account without password in preseed file

#2 Post by Capitain_Jack »

I guess you should not do it, a less unsecured method would be instead of no root password you can assign a user at sudoers file to not be asked for a password, than issue the sudo su command before what you want executed as root, of course you already said you understand the risks.
"Great spirits have always encountered violent opposition from mediocre minds."
Albert Einstein
"All wrong-doing arises because of mind. If mind is transformed can wrong-doing remain?"
Buddha

Post Reply