[arch-general] user management error
Mark Lee
mark at markelee.com
Mon Mar 17 15:45:39 EDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 03/17/2014 02:50 PM, Gerald Stuhrberg wrote:
> Hello,
>
> /etc/passwd does not store the password, a hashed version of the password
> is stored in /etc/shadow
>
> If the directory isn't being mounted, can you please post the contents of
> /etc/fstab ?
>
> You can also check dmesg and journalctl to see if you have messages
> relating to the mounting of the /home/ partition
>
>
> On Mon, Mar 17, 2014 at 2:25 PM, message <letter at openmailbox.org> wrote:
>
>> Readers,
>>
>> A previously existing /home directory was mounted into the file system
>> during the installation process; this directory contained files in a
>> directory 'a'.
>>
>> A user was created from the root user account:
>>
>> useradd -M -p [password] -s /bin/bash [username'a']
>>
>> After reboot, the system is restarted as root because the user 'a' is
>> stated to not exist. The command 'cat /etc/passwd' reveals a password 'x',
>> but this is not the password that was entered.
>>
>> How to solve this error?
>>
Salutations,
What do you mean the system restarted as root? Do you mean that the
system logged you in as root automatically? If that is the case, how did
you enable auto login? If that is not the case, login as root and try '#
su a' to login as the user and 'passwd' to change the user's password.
Regards,
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iF4EAREIAAYFAlMnUOMACgkQZ/Z80n6+J/awCgD/U7rp52hyj1JpAQhx08D2Xxyy
XUlKFFf4hk99AtsVdWQBAJMPWcEWifNpeizP7HUgoBYpy3pc3m5JOlL+oephu6+K
=GtnO
-----END PGP SIGNATURE-----
More information about the arch-general
mailing list