How to properly re-establish users after a reinstall?

Josef Lowder joe at actionline.com
Mon Apr 20 19:38:09 MST 2009


Thanks Craig.  I can't imagine how this could have come about
as I know that hda7 was originally specified as just "/home"

But I really appreciate your response and guidance.

On 4/20/09, Craig White <craigwhite at azapple.com> wrote:
>  it appears that you have mounted /dev/hda7 as /home/joe rather than
>  just /home
>
>  if you haven't created anything else (i.e., users, in /home, you could
>  probably just change the mount point in /etc/fstab and
>  'umount /home/joe' and 'mount -a' and everything would be fixed. You
>  would of course want users named joe and patti and if you haven't
>  already created them, you could figure out which uid number they had
>  previously...
>
>  ls -ldn /home/joe/*
>
>  and their user & group numbers from your old system should be displayed.
>
>  Then you could create them again with a 'useradd' command like,
>
>  useradd -u 501(or ??) -g 501(or ??)
>
>  type 'useradd --help' for information.
>
>  Craig
>
>
>  --
>  This message has been scanned for viruses and
>  dangerous content by MailScanner, and is
>  believed to be clean.
>
>  ---------------------------------------------------
>  PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>  To subscribe, unsubscribe, or to change your mail settings:
>  http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>


More information about the PLUG-discuss mailing list