From owner-freebsd-questions Tue Feb 15 20:45:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by builder.freebsd.org (Postfix) with ESMTP id 3F47B42A3 for ; Tue, 15 Feb 2000 20:43:32 -0800 (PST) Received: from nwlink.com (ip164.r3.d.bel.nwlink.com [207.202.172.164]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id UAA29606; Tue, 15 Feb 2000 20:43:57 -0800 (PST) Message-ID: <38AA29F0.9C4E227D@nwlink.com> Date: Tue, 15 Feb 2000 20:39:12 -0800 From: R Joseph Wright X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Ryan Thompson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user account gone awry References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Send the output of the following commands (run as the user in question): > > ls -load ~ How about this: drwxr-xr-x 7 root wheel - 512 Feb 15 19:12 /root > du ~ du:/root/.kde/share/config: Permission denied du:/root/.kde/share/apps: Permission denied du:/root/.kde/share/icons: Permission denied du:/root/.kde/share/applnk: Permission denied du:/root/.kde/share/mimelnk: Permission denied 1 /root/.kde/share 2 /root/.kde du:/root/mail: Permission denied du:/root/Desktop: Permission denied du:/root/.netscape: Permission denied du:/root/nsmail: Permission denied 13 /root > id uid=1000(joseph) gid=1000(joseph) groups=1000(joseph), 0(wheel), 69(network) > 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? It seems to think that my home directory is /root, even though id shows I am user "joseph". If I "startx", it even brings me into root's desktop. > Also, if that first ls says permission denied, then the permissions on > /home or /usr/home are in question. Try ls -load /home instead. The permissions of /home are: lrwxrwxrwx root wheel It won't let me see the permissions on /home/joseph unless logged in as root. But they are as they should be: drwxr-xr-x joseph joseph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message