Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 505952

Summary: No 'gentoo' user in 'install-amd64-minimal-20140320.iso'
Product: Gentoo Release Media Reporter: f0o <f0o>
Component: InstallCDAssignee: Gentoo Release Team <releng>
Status: RESOLVED WONTFIX    
Severity: major CC: alex_y_xu
Priority: Normal    
Version: autobuild   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description f0o 2014-03-27 09:57:50 UTC
Hi,

I downloaded the 'install-amd64-minimal-20140320.iso' today (27/03/2014 8:00 GMT) from 'http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/'.

I noticed that the user 'gentoo' does not exist and thus the bootable install.iso renders itself useless.

You cannot login as user 'root' either because the password gets scrambled on login.

I fixed the issue by mounting the iso, opening the image.squashfs and adding a 'gentoo' user and password to the '/etc/passwd' and '/etc/shadow' as well as adding it to the 'wheel' group in '/etc/group'.
Then recreating the squashfs and iso (mkisofs -RJ -o install-amd64-minimal-20140320.fix.iso).

Please ping me here or at #gentoo on freenode if you need further informations.

Cheers,
f0o
Comment 1 Alex Xu (Hello71) 2014-03-27 11:30:31 UTC
This is intentional. The console is set to log in to root automatically and spawn a shell instead of a login process.

The root password is scrambled automatically to prevent SSH brute force attacks.

If you want to SSH in, type passwd as instructed.

If you want to do this without typing anything, you will need to set your own password.
Comment 2 f0o 2014-03-28 06:53:16 UTC
Hi Alex,

This is odd then.. When I spawn the agetty it simply prompted me for login-credentials :/

I had to add a 2nd agetty to the inittab so i could use it from xenU console... Maybe this interferred the autologin ?

I did just copypasta the 1st agetty under terminals and added 'console' as target.

Cheers