mmatuska / mfsbsd

mfsBSD
http://mfsbsd.vx.sk
BSD 2-Clause "Simplified" License
494 stars 137 forks source link

Invalid root password #124

Open victor-sudakov opened 3 years ago

victor-sudakov commented 3 years ago

I have just been compiling mfsBSD from 12.2-RELEASE and I have noticed that even with the default setting of ROOTPW_HASH I cannot login as root from the console.

If I login via ssh key (it works) and examine the master.passwd file, I notice that the root user has the password field beginning with

root:ExAcaAEU0sE.llztHSCv7N8qBzgVTcFt5Ec.A9e8ov49kyYIt59YLhhL04dgmbEAOW2OMnSrwdzbjRIDlnx8lD2...

which is obviously invalid: password fields don't begin like that.

I did not change much from the default, just added conf/authorized_keys, redefined BASE and created tools/packages with a list of packages I need personally.