[CentOS] copying user accounts...
SilverTip257
silvertip257 at gmail.comWed Jun 11 16:43:55 UTC 2014
- Previous message: [CentOS] copying user accounts...
- Next message: [CentOS] How to configure user accounts without NIS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jun 10, 2014 at 5:38 PM, Matt Garman <matthew.garman at gmail.com> wrote: > 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. > +1 A while back I wrote a script to migrate accounts and data for a home system. Matt G. hit the major gotchas with escaping dollar signs. > > > > On Tue, Jun 10, 2014 at 4:28 PM, John R Pierce <pierce at hogranch.com> > 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 at centos.org > > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -- ---~~.~~--- Mike // SilverTip257 //
- Previous message: [CentOS] copying user accounts...
- Next message: [CentOS] How to configure user accounts without NIS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list