Re: copying user accounts...

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



I've used "usermod -p <encrypted password> <username>" successfully many times.

Just be careful with escaping of the '$' field separators that appear
in the encrypted password string from /etc/shadow.



On Tue, Jun 10, 2014 at 4:28 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:
> I want to copy a few user accounts to a new system...   is there a more
> elegant way to copy /etc/shadow passwords other than editing the file?
> for instance, is there some way I can give the password hash to
> /usr/bin/passwd ?
>
>
>
>
> --
> john r pierce                                      37N 122W
> somewhere on the middle of the left coast
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux