Re: Can't get into headless pi, password not 'raspberry'

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Can't get into headless pi, password not 'raspberry'
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.sys.raspberry-pi
Date : 13. Mar 2025, 23:16:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vqvlgb$3v7rr$5@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.162 (Pokrosvk)
On Sun, 2 Mar 2025 09:51:28 +0000, The Natural Philosopher wrote:

To generate the encrypted password, the easiest way is to use OpenSSL on
a Raspberry Pi that is already running – open a terminal window and
enter
 
echo 'mypassword' | openssl passwd -6 -stdin

There seems to be no command-line tool that relies purely on the system
libcrypt (and implements exactly the set of algorithms supported by that)
to hash and verify passwords.

I have my Python nixcrypt library and accompanying example command-line
tool <https://gitlab.com/ldo/nixcrypt>, if you can be bothered to install
that.

I think you can also use the values in /etc/shadow on another system to
clone a user and password.

Yes, that will work, provided the hash algorithms used are compatible.
Which is usually the case, unless the system installations are from a few
years apart. Recommendations as to which hash algorithms to use (and which
to stay away from) tend to change somewhat over time.

Date Sujet#  Auteur
25 Jan 25 * Can't get into headless pi, password not 'raspberry'26Chris Green
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'5Chris Townley
26 Jan 25 i+- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
26 Jan 25 i`* Re: Can't get into headless pi, password not 'raspberry'3Andy Burns
26 Jan 25 i +- Re: Can't get into headless pi, password not 'raspberry'1The Natural Philosopher
26 Jan 25 i `- Re: Can't get into headless pi, password not 'raspberry'1Chris Townley
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'2Pancho
26 Jan 25 i`- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
26 Jan 25 +- Re: Can't get into headless pi, password not 'raspberry'1bp
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'8Lawrence D'Oliveiro
26 Jan 25 i`* Re: Can't get into headless pi, password not 'raspberry'7Bob Latham
26 Jan 25 i `* Re: Can't get into headless pi, password not 'raspberry'6Chris Green
26 Jan 25 i  +- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
26 Jan 25 i  `* Re: Can't get into headless pi, password not 'raspberry'4Bob Latham
26 Jan 25 i   +- Re: Can't get into headless pi, password not 'raspberry'1The Natural Philosopher
27 Jan 25 i   `* Re: Can't get into headless pi, password not 'raspberry'2Lawrence D'Oliveiro
26 Jan 25 i    `- Re: Can't get into headle1Mike Powell
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'5The Natural Philosopher
26 Jan 25 i+* Re: Can't get into headless pi, password not 'raspberry'3Chris Green
26 Jan 25 ii`* Re: Can't get into headless pi, password not 'raspberry'2The Natural Philosopher
26 Jan 25 ii `- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
27 Jan 25 i`- Re: Can't get into headless pi, password not 'raspberry'1Lawrence D'Oliveiro
26 Feb 25 +* Can't get into headless pi, passwor3Dave Vandermeer
2 Mar 25 i`* Re: Can't get into headless pi, passwor2The Natural Philosopher
13 Mar 25 i `- Re: Can't get into headless pi, password not 'raspberry'1Lawrence D'Oliveiro
26 Feb 25 `- Can't get into headless pi, passwor1Dave Vandermeer

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal