Re: user management error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 17.03.14 at 18:25, message 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?

From passwd(5):
  If the password field is a lower-case “x”, then the encrypted password is
  actually stored in the shadow(5) file instead.

So look into /etc/shadow if you are looking for the password.

Attachment: pgplgFoPLBga4.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux