Re: [yocto] problem adding a user

2019-05-24 Thread Greg Wilson-Lindberg
Hi Khem, > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Thursday, May 23, 2019 07:11 PM > To: Rudolf Streif ; Greg Wilson-Lindberg > > Cc: Yocto list discussion > Subject: Re: [yocto] problem adding a user > > > > On 5/2

Re: [yocto] problem adding a user

2019-05-23 Thread Khem Raj
dolf.str...@ibeeto.com>> *Sent:* Wednesday, May 22, 2019 12:42:40 PM *To:* Greg Wilson-Lindberg *Cc:* Yocto list discussion *Subject:* Re: [yocto] problem adding a user Greg, Can you share the logfile via Pastebin? :rjs On Tue, May 21, 2019 at 11:09 AM

Re: [yocto] problem adding a user

2019-05-23 Thread Greg Wilson-Lindberg
just the adjacent single quotes " '' ". Something is removing the encoded hash. Greg From: Leon Woestenberg Sent: Thursday, May 23, 2019 2:44:04 PM To: Rudolf Streif Cc: Greg Wilson-Lindberg; Yocto list discussion Subject: Re: [yocto] problem adding

Re: [yocto] problem adding a user

2019-05-23 Thread Leon Woestenberg
file is over the 500k >> limit of free pastebin: >> >> https://pastebin.com/UcnKebce >> >> >> And here is the 2nd half of the file: >> >> https://pastebin.com/9117tdUU >> >> >> Greg >> -- >> *Fr

Re: [yocto] problem adding a user

2019-05-23 Thread Rudolf Streif
2nd half of the file: > > https://pastebin.com/9117tdUU > > > Greg > -- > *From:* Rudolf Streif > *Sent:* Wednesday, May 22, 2019 12:42:40 PM > *To:* Greg Wilson-Lindberg > *Cc:* Yocto list discussion > *Subject:* Re: [yocto] problem adding a user > > Greg, > Can

Re: [yocto] problem adding a user

2019-05-22 Thread Greg Wilson-Lindberg
12:42:40 PM To: Greg Wilson-Lindberg Cc: Yocto list discussion Subject: Re: [yocto] problem adding a user Greg, Can you share the logfile via Pastebin? :rjs On Tue, May 21, 2019 at 11:09 AM Greg Wilson-Lindberg mailto:gwil...@sakuraus.com>> wrote: Rudolf, Something else is happening to

Re: [yocto] problem adding a user

2019-05-22 Thread Rudolf Streif
t; *From:* Rudolf Streif > *Sent:* Tuesday, May 21, 2019 5:37:23 AM > *To:* Greg Wilson-Lindberg > *Cc:* Yocto list discussion > *Subject:* Re: [yocto] problem adding a user > > Greg, > > usermod does not work for the MD5 algorithm with the explicit password > h

Re: [yocto] problem adding a user

2019-05-21 Thread Greg Wilson-Lindberg
when I'm trying the MD5 password. Greg From: Rudolf Streif Sent: Tuesday, May 21, 2019 5:37:23 AM To: Greg Wilson-Lindberg Cc: Yocto list discussion Subject: Re: [yocto] problem adding a user Greg, usermod does not work for the MD5 algorithm with the explicit password hash as

Re: [yocto] problem adding a user

2019-05-21 Thread Rudolf Streif
> works, > but not the longer password. > > It also doesn't make sense that I can't put in the '$' & '@' characters and > have them work. > > Any suggestions would be greatly appreciated. > > Greg > > -- > *From:* Rudolf Streif >

Re: [yocto] problem adding a user

2019-05-20 Thread Greg Wilson-Lindberg
them work. Any suggestions would be greatly appreciated. Greg From: Rudolf Streif Sent: Wednesday, May 15, 2019 4:58:26 PM To: Greg Wilson-Lindberg Cc: Yocto list discussion Subject: Re: [yocto] problem adding a user Glad to hear that it works now. I am planni

Re: [yocto] problem adding a user

2019-05-15 Thread Rudolf Streif
eeto.com] > *Sent:* Wednesday, May 15, 2019 01:30 PM > *To:* Greg Wilson-Lindberg ; Yocto list discussion < > yocto@yoctoproject.org> > *Subject:* Re: [yocto] problem adding a user > > > > Instead of > > > > useradd -p `openssl passwd test` sakura > >

Re: [yocto] problem adding a user

2019-05-15 Thread Greg Wilson-Lindberg
, 2019 01:30 PM To: Greg Wilson-Lindberg ; Yocto list discussion Subject: Re: [yocto] problem adding a user Instead of useradd -p `openssl passwd test` sakura which attempts to add the user and set the password which fails if the user already exists, use usermod -p `openssl passwd

Re: [yocto] problem adding a user

2019-05-15 Thread Rudolf J Streif
*Sent:* Wednesday, May 15, 2019 12:31 PM *To:* Greg Wilson-Lindberg; Yocto list discussion *Subject:* Re: [yocto] problem adding a user The ! for the password in /etc/shadow indicates that the account is disabled: sakura:!:18031:0:9:7::: Either there is something wrong with the password

Re: [yocto] problem adding a user

2019-05-15 Thread Greg Wilson-Lindberg
To: Greg Wilson-Lindberg; Yocto list discussion Subject: Re: [yocto] problem adding a user The ! for the password in /etc/shadow indicates that the account is disabled: sakura:!:18031:0:9:7::: Either there is something wrong with the password generation or it gets disabled by something

Re: [yocto] problem adding a user

2019-05-15 Thread Rudolf J Streif
Greg *From:* Rudolf J Streif *Sent:* Wednesday, May 15, 2019 11:26 AM *To:* Greg Wilson-Lindberg; Yocto list discussion *Subject:* Re: [yocto] problem adding a user Hi Greg, > I've also tried both the back-quote and the singl

Re: [yocto] problem adding a user

2019-05-15 Thread Greg Wilson-Lindberg
Sent: Wednesday, May 15, 2019 11:26 AM To: Greg Wilson-Lindberg; Yocto list discussion Subject: Re: [yocto] problem adding a user Hi Greg, > I've also tried both the back-quote and the single-quote, no difference. Help me to understand this. the back-quotes are the right ones. If you use the sing

Re: [yocto] problem adding a user

2019-05-15 Thread Rudolf J Streif
gards, Greg *From:* Rudolf J Streif *Sent:* Wednesday, May 15, 2019 10:07:47 AM *To:* Greg Wilson-Lindberg; Yocto list discussion *Subject:* Re: [yocto] problem adding a user Hi Greg, Well, I suppose I wrote the book you are referring to... Using useradd -p

Re: [yocto] problem adding a user

2019-05-15 Thread Greg Wilson-Lindberg
Wednesday, May 15, 2019 10:07:47 AM To: Greg Wilson-Lindberg; Yocto list discussion Subject: Re: [yocto] problem adding a user Hi Greg, Well, I suppose I wrote the book you are referring to... Using useradd -p PASSWORD USER takes the password hash for PASSWORD hence the use of openssl in:

Re: [yocto] problem adding a user

2019-05-15 Thread Rudolf J Streif
Hi Greg, Well, I suppose I wrote the book you are referring to... Using useradd -p PASSWORD USER takes the password hash for PASSWORD hence the use of openssl in: useadd -p `openssl passwd PASSWORD` USER openssl password creates the password hash using the original crypt hash algorithm if

Re: [yocto] problem adding a user

2019-05-14 Thread ChenQi
On 05/15/2019 08:34 AM, Greg Wilson-Lindberg wrote: I'm trying to use the example in "Embedded Linux Systems with the Yocto Project" to add a user to my Yocto build. In the book the sample code: useradd -p `openssl passwd ${DEV_PASSWORD}` developer; \ uses openssl to generate the

[yocto] problem adding a user

2019-05-14 Thread Greg Wilson-Lindberg
I'm trying to use the example in "Embedded Linux Systems with the Yocto Project" to add a user to my Yocto build. In the book the sample code: useradd -p `openssl passwd ${DEV_PASSWORD}` developer; \ uses openssl to generate the encrypted password string to pass to useradd. I have never