LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Somebody's Home..!!?? (https://www.linuxquestions.org/questions/red-hat-31/somebodys-home-772971/)

ashok.g 12-02-2009 09:48 AM

Somebody's Home..!!??
 
I am getting the folder by name "Somebody's Home" instead of "Ashok's Home"(User Home) on my Desktop and my system got slow while accessing my folders/files in my filesystem.
Also, when I try to open my terminal I am getting the commandline as:
Quote:

id: cannot find name for user ID 516
[I have no name!@Station130 ~]$
I am using only the MD5 Authentication and Shadow Authentication in my authconfig.


Can you please assist me?
Thanks in Advance,

sv* 12-02-2009 11:04 AM

Code:

ls -l /home
and
Code:

tail /etc/passwd
Did the uid for user change by any chance?

chrism01 12-02-2009 10:45 PM

Certainly implies there's no entry in /etc/passwd for that id.

ashok.g 12-03-2009 02:34 AM

For your kind information the contes of different files are as follows.
Contents of passwd file:
Quote:

[root@Station130 ~]# cat /etc/passwd
.........
Ashok:x:516:516::/home/Ashok:/bin/bash
.........
Contents of group file:
Quote:

[root@Station130 ~]# cat /etc/group
.........
Ashok:x:516:
.........
Output of ls -l /home command:
Quote:

[I have no name!@Station130 ~]$ ls -l /home
drwx------ 30 516 Ashok 4096 Dec 3 13:58 Ashok
Thanks,

chrism01 12-03-2009 07:34 PM

Run the 'id' cmd as this user; it'll tell you who it thinks you really are
http://linux.die.net/man/1/id
Also check for >1 entry by that id and 516 id in passwd and shadow files

ashok.g 12-04-2009 08:19 AM

Here's th output for that:
Quote:

[I have no name!@Station130 ~]$ id
uid=516 gid=516(Ashok) groups=516(Ashok)

DrLove73 12-05-2009 06:32 AM

Am I correct that after "uid=516" there's supposed to be "(Ashok)"?

ashok.g 12-08-2009 05:52 AM

I need the solution to get out of this problem. Due to this, my system is runnig slowly......

DrLove73 12-08-2009 07:59 AM

How about this:

As root, backup ashock home folder, delete ashok user, add it again, using specified uid, 516, and copy home folder from old user in newly created folder.


All times are GMT -5. The time now is 05:17 AM.