[wplug] Could not log into the original home directory after
installation
Deliang Shi
sdliang02 at yahoo.com
Mon Nov 14 15:08:51 EST 2005
You are absolutely right. I used "chown -R user2:user2 /home/home/user2"
and met some permission problems. And I can log in as the user2,
though a lot errors jumped out. Some said the configuration is not working
properly. And the windows like in a falsesafe system. I will try your other
suggestions later and let you know what happened. Again, thanks for the
valued information.
Deliang
Bill Moran <wmoran at potentialtech.com> wrote: Deliang Shi wrote:
> Thanks for the quick reply and I found my lines are really too
> long:)
>
> They are not mounted in the same place. In fact I have
> different user name for individual home directory.
>
> new user1 /home/user1
> original user2 /home/home/user2
>
> user1 is created during this installation and user2 is from
> original version(I am not sure if it is related to NIS/NFS).From
> the users and groups adminstation window, I can find user1, but
> not user2.
Did you overwrite your password database when you "upgraded"?
If so, you'll need to create a new user2 user. Once you've
done that, do a "chown -R user2:user2 /home/home/user2" to
ensure permissions are correct.
If permissions aren't correct, RedHat may give you grief about
setting that user's home directory to a location that is unwriteable
by that user (I don't remember what RH does). If that's the case,
you'll need to create a temp home directory, then change ownership,
then change the home directory.
Look at the man page for "vipw" as an example. as well as "man 5 passwd".
I'm not sure how the GUI user admin program does this
>
> By log in as user1, I can access both /home/user1 and /home/home/user2
>
> I don't know how to log in as user2.
>
> Deliang
>
>
> Bill Moran wrote: Deliang Shi wrote:
>
> > Linux is installed in my notebook, root is /dev/hdc3 and home directory is
> > /dev/hdc6. After I format /dev/hdc3 and upgrade from FC1 to FC3, another
> > home directory is created on /dev/hdc3 and I can only log into this home
> > directory. I couldn't log into the original home directory on /dev/hdc6.
> > Both /dev/hdc3 and /dev/hdc6 are mounted.
>
> (please wrap your lines around 72 chars or so)
>
> Are they both mounted on the same place? What does "mount" say?
>
> If they're both mounted in the same place, then one will "overlay" the
> other (hide it). So the trick will be to keep the second one from
> mounting.
>
> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
>
>
>
>
> Deliang Shi
> University of Pittsburgh
> Chemical Engineering Department
> 1249 Benedum Hall
> 3700 O'Hara Street
> Pittsburgh PA 15261
>
> Phone: (412) 624 2195
> Fax: (412) 624 9639
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20051114/bd4b7b2b/attachment.html
More information about the wplug
mailing list