Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 21:50:57 -0600 (CST)
From:      Ryan Thompson <freebsd@sasknow.com>
To:        R Joseph Wright <rjoseph@nwlink.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: user account gone awry
Message-ID:  <Pine.BSF.4.10.10002152144390.63285-100000@sasknow.com>
In-Reply-To: <38AA17F6.EAFCAAE3@nwlink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Feb 2000, R Joseph Wright wrote:

> I just upgraded my system from 3.4 to 4.0 with cvsup/make world.
> Everything went beautifully, until a few minutes ago, when I logged into
> my machine as a user, and it allowed me to log in, but my bash prompt
> was  the default prompt, not my own configured one.  I realized then
> that I was in the / directory, not my home directory.  When I tried to
> get to my home directory, I got "Permission Denied".
> I really don't know if this problem has anything to do with my upgrade,
> after all, I logged in fine several times before.
> I finally decided to back up my home directory, then rmuser.  Then I did
> adduser.  I got the same result when I logged in again.  Does anyone
> know what's going on here?  I realize this is not a lot of information,
> but if you can direct me, I'll gladly supply more.  Thank you, Joseph.
> 

Send the output of the following commands (run as the user in question):

ls -load ~
du ~
id

Things to check for:

In ls output, does your username show up as the owner of the directory? If
you get a numerical uid instead of your username, that may be a sign that
your uid has been altered. Can you read and execute it?  Does du output
anything at all, or does it say permission denied?  Does the output of id
make sense?  Does your uid match what it is supposed to be?

Also, if that first ls says permission denied, then the permissions on
/home or /usr/home are in question.  Try ls -load /home instead.

--
  Ryan Thompson <ryan@sasknow.com>	50% Owner, Sysadmin
  SaskNow Technologies     		http://www.sasknow.com
  #106-380 3120 8th St E   		Saskatoon, SK  S7H 0W2



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002152144390.63285-100000>