On Sun, Feb 22, 2015 at 10:36 PM, Matthew Miller
wrote:
> On Sun, Feb 22, 2015 at 11:23:45AM -0700, Chris Murphy wrote:
>> Curiously, Anaconda calls authconfig to create the key, and the resulting
>> shadow entry contains a 16 character salt. Whereas passwd uses an 8
>> character salt.
>
> Huh, th
On Sun, Feb 22, 2015 at 11:23:45AM -0700, Chris Murphy wrote:
> Curiously, Anaconda calls authconfig to create the key, and the resulting
> shadow entry contains a 16 character salt. Whereas passwd uses an 8
> character salt.
Huh, that is curious. I assume we really want to be using the 16-char
sa
lso self-describing, the
/etc/shadow entry contains the 8 or 16 character salt, so whatever's
doing the password+salt+SHA512rounds work knows from /etc/shadow what
to do. And if rounds= is used in /etc/pam.d/passwd, the next time you
use passwd, it writes out $rounds=x$ in the 2nd field i
est way (of course using the python crypt
> module or whatever).
That's it. Thanks!
So there is a salt listed in /etc/shadow, and 5000 rounds of SHA512 are
used by default according to sha512-crypt.c. The number of rounds can be
changed in /etc/pam.d/passwd.
Curiously, Anaconda calls authc
. (If you do want to dig further, I suppose
> sha512-crypt.c is the place to look.)
>
> If you want to generate such a string yourself, using the crypt
> function seems like the easiest way (of course using the python crypt
> module or whatever).
That's it. Thanks!
So there is a
On Sat, Feb 21, 2015 at 06:07:18PM -0700, Chris Murphy wrote:
> I read this:
> http://www.aychedee.com/2012/03/14/etc_shadow-password-hash-formats/
> But Fedora doesn't have mkpasswd by default, whereas passwd seems to
> only update shadow rather than outputting to stdout. And if there's a
> salt u
On Sat, Feb 21, 2015 at 6:32 PM, jd1008 wrote:
> Why not just download
> http://mirrors.kernel.org/fedora/releases/21/Everything/source/SRPMS/p/asswd-0.79.tar.bz2
> and read the source code :)
> There are macros you will need to look at as well
I've already looked at passwd.c before asking.
--
On 02/21/2015 06:07 PM, Chris Murphy wrote:
I'm curious about how the hash in /etc/passwd is generated.
I know it's SHA512 based, since the 2nd field starts with $6$. But the
characters that follow aren't a SHA512 hash. It looks like it was run
through base64.
I read this:
http://www.aychedee.
I'm curious about how the hash in /etc/passwd is generated.
I know it's SHA512 based, since the 2nd field starts with $6$. But the
characters that follow aren't a SHA512 hash. It looks like it was run
through base64.
I read this:
http://www.aychedee.com/2012/03/14/etc_shadow-password-hash-formats
Once upon a time, Marko Vojinovic said:
> On Thursday 12 January 2012 05:53:42 g wrote:
> > if you compare "/etc/shadow" to "/etc/shadow.rpmnew" when it is there,
> > you will see that yum/rpm has added a program's name to "/etc/shadow"
&g
Joachim Backes wrote:
Question: are these files only created for backup purposes, or is there
another reason for this?
$ man 5 shadow
...
/etc/shadow-
Backup file for /etc/shadow.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription
he was speaking about "/etc/shadow-" and NOT "/etc/shadow"
and yes i am sure they are backups
Whoops, right you are!
- Mike
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listi
Am 12.01.2012 12:52, schrieb Dr. Michael J. Chudobiak:
> On 01/12/2012 12:05 AM, Joachim Backes wrote:
>> Hi all,
>>
>> adding a new user with "useradd ..." will create two additional files
>> never removed:
>>
>> /etc/passwd- and /etc/shadow-
>
> adding a new user with "useradd ..." will create two additional files
> never removed:
>
> /etc/passwd- and /etc/shadow-
>
> Question: are these files only created for backup purposes, or is there
> another reason for this?
>
>
> Looking at a sys
On 01/12/2012 12:05 AM, Joachim Backes wrote:
Hi all,
adding a new user with "useradd ..." will create two additional files
never removed:
/etc/passwd- and /etc/shadow-
Question: are these files only created for backup purposes, or is there
another reason for this?
/etc/passw
On 01/12/2012 10:28 AM, Marko Vojinovic wrote:
On Thursday 12 January 2012 05:53:42 g wrote:
if you compare "/etc/shadow" to "/etc/shadow.rpmnew" when it is there,
you will see that yum/rpm has added a program's name to "/etc/shadow"
when yum/rpm adds a new p
On Thursday 12 January 2012 05:53:42 g wrote:
> if you compare "/etc/shadow" to "/etc/shadow.rpmnew" when it is there,
> you will see that yum/rpm has added a program's name to "/etc/shadow"
> when yum/rpm adds a new program that needs to be assigned
On 01/12/2012 01:56 PM, g wrote:
> On 01/12/2012 02:40 AM, Ed Greshko wrote:
> <>
>
>> I saw the same message just now But no /etc/shadow.rpmnew was
>> created and the /etc/shadow file was not touched.
> -=-
>
> where you updating same package?
>
>
On 01/12/2012 02:40 AM, Ed Greshko wrote:
<>
> I saw the same message just now But no /etc/shadow.rpmnew was
> created and the /etc/shadow file was not touched.
-=-
where you updating same package?
could be you two have found a bug with yum/rpm.
--
peace out.
tc.hago,
On 01/12/2012 01:28 AM, Marko Vojinovic wrote:
<>
> What is this all about?
-=-
if you compare "/etc/shadow" to "/etc/shadow.rpmnew" when it is there,
you will see that yum/rpm has added a program's name to "/etc/shadow"
when yum/rpm adds a new pr
On 12/01/12 02:40, Ed Greshko wrote:
I saw the same message just now But no /etc/shadow.rpmnew was
created and the /etc/shadow file was not touched.
diff /etc/shadow /etc/shadow-
--
Regards,
Frank Murphy
UTF_8 Encoded
Friend of fedoraproject.org
--
users mailing list
users
Hi all,
adding a new user with "useradd ..." will create two additional files
never removed:
/etc/passwd- and /etc/shadow-
Question: are these files only created for backup purposes, or is there
another reason for this?
Kind regards
--
Joachim Backes
http://www.rhrk.uni-kl.
On 01/12/2012 09:28 AM, Marko Vojinovic wrote:
> I just did a yum update on my F16 box, and the transaction reported (among
> the
> usual things):
>
> Updating : setup-2.8.36-3.fc16.noarch 111/236
> warning: /etc/shadow created as /etc/shadow.rpmnew
>
> Additional
I just did a yum update on my F16 box, and the transaction reported (among the
usual things):
Updating : setup-2.8.36-3.fc16.noarch 111/236
warning: /etc/shadow created as /etc/shadow.rpmnew
Additionally, after the update was completed, I looked up /etc/shadow.rpmnew,
and it'
24 matches
Mail list logo