public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stefan Rohnke <stefan.rohnke@web.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] Minimal-Install-CD dosshd passwd funktioniert nicht
Date: Sun, 10 Jul 2016 08:09:14 +0200	[thread overview]
Message-ID: <20160710060914.GA32645@gentoopc01-initrc.home.local> (raw)
In-Reply-To: <931d8cc2-68f3-33ad-fd0b-c9ea909f2d87@gentoo.org>

On Sun, Jul 10, 2016 at 07:18:37AM +0200, Johann Schmitz (ercpe) wrote:
> 
> 
> > Wenn ich am pc selbst passwd root eingebe und das pwd ändere, war das
> > zwar erfolgreich; via ssh geht das aber nicht.
> 
> Seit OpenSSH 7 ist
> 	PermitRootLogin prohibit-password
> der Standard. D.h. root logins via SSH sind nur über SSH Public Keys
> möglich.
> 
> Du könntest das ISO nehmen, image.squashfs entpacken (via unsquashfs)
> und dort die sshd_config anpassen. Dort muss mindestens RootLogin yes
> gesetzt werden; ggf. auch Dinge wie PasswordAuthentication.
> Anschließend das Verzeichnis wieder squashen und in das ISO legen.
> 
> Mit dem ISO solltest du dich dann auch mit dem Password via SSH anmelden
> können.
Genau das ist der entscheidende Hinweis gewesen; vielen Dank.
Das ISO habe ich zwar nicht auseinander genommen aber im laufenden
System die sshd_config angepasst und den Dienst neu gestartet.
Jetzt ist alles gut; nochmal vielen Dank.
Gruß
Stefan


      reply	other threads:[~2016-07-10  6:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-09 16:35 [gentoo-user-de] Minimal-Install-CD dosshd passwd funktioniert nicht Stefan Rohnke
2016-07-10  5:18 ` Johann Schmitz (ercpe)
2016-07-10  6:09   ` Stefan Rohnke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160710060914.GA32645@gentoopc01-initrc.home.local \
    --to=stefan.rohnke@web.de \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox