[CentOS] Managing users and passwords

Thu Mar 24 14:43:22 UTC 2011
Brunner, Brian T. <BBrunner at gai-tronics.com>

centos-bounces at centos.org wrote:
> Kevin -
> 
> When the time comes, I may need help in creating the command that
> excludes the entries in owner, group, password and shadow tables for
> "system" entries. 
> 
> Todd

For starters, copy over the 5.4 files verbatim, and edit the home
directory entries so /home/foo (or whatever they were under 5.4) becomes
/mnt/5.4/home/foo (or however they'll be seen from the 5.5 system).
This will be the value of $HOME and '~' for each user. People who have
used absolute pathnames to their home directory (instead of $HOME or
'~') have to fix their scripts.

As you find time, 5.4 /home directories can be moved to 5.5, and the
password file updated to change /mnt/5.4/home/foo becomes /home/foo
again.

The above blather assumes SELinux is not 'enforcing'.

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.

//me
*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**