Activate root account without password in preseed file

Help with issues regarding installation of Debian

Activate root account without password in preseed file

Postby Kyras » 2017-09-16 10:29

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.
Kyras
 
Posts: 1
Joined: 2017-09-16 10:26

Re: Activate root account without password in preseed file

Postby Capitain_Jack » 2017-12-17 00:48

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
User avatar
Capitain_Jack
 
Posts: 153
Joined: 2017-12-15 12:07
Location: Brazil capital, Brasilia, At the favela.


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable