Re: How to properly re-establish users after a reinstall?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
To: Main PLUG discussion list
Subject: Re: How to properly re-establish users after a reinstall?
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 <> 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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss