Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575330 - install-amd64-minimial-20160211 init parms "dosshd" and "passwd" ineffective
Summary: install-amd64-minimial-20160211 init parms "dosshd" and "passwd" ineffective
Status: RESOLVED DUPLICATE of bug 585232
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-21 21:28 UTC by lkd-gentoo
Modified: 2016-11-14 02:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lkd-gentoo 2016-02-21 21:28:10 UTC
For the installer, when using "passwd=" and "dosshd" parameters together, the result is ineffective for ssh login because the sshd isn't modified such that "PermitRootLogin yes" is set.

## Repro
- Set up to boot the install CD image for mount via NFS (not related to the root cause, but makes setup easier)
- Set up DHCP, TFTP, NFS, etc. for this boot
- Use the equivalent of the following PXE-Linux settings to boot
  - linux /kernel-genkernel-x86_64-4.4.0
  - append passwd=foobarbar vga=1 root=/dev/ram0 init=/linuxrc looptype=squashfs initrd=/gentoo.igz cdroot=1 real_root=/dev/nfs nfsroot=192.168.248.10:/var/tftp/install dosshd
  - (note the passwd and dosshd)
- Boot some host (qemu-kvm VM, real host, whatever) via these parameters

## Expected result
- Boots into the install/livecd image with root's password configured correctly (it does) and sshd start up accepting root's p/w over the network

## Actual result
- Boots into the install/livecd image with root's password configured correctly with the *default* sshd config, which prohibits root login through sshd using a password
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2016-11-14 02:48:52 UTC
I'm going to close this one as a dupe of bug 585232.
Feel free to reopen if I missed anything.

*** This bug has been marked as a duplicate of bug 585232 ***