LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-02-2009, 09:48 AM   #1
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
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,
 
Old 12-02-2009, 11:04 AM   #2
sv*
LQ Newbie
 
Registered: Dec 2009
Distribution: CentOS, LinuxMint, Mandriva, Slackware
Posts: 6

Rep: Reputation: 0
Code:
ls -l /home
and
Code:
tail /etc/passwd
Did the uid for user change by any chance?
 
Old 12-02-2009, 10:45 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Certainly implies there's no entry in /etc/passwd for that id.
 
Old 12-03-2009, 02:34 AM   #4
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Original Poster
Rep: Reputation: 32
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,
 
Old 12-03-2009, 07:34 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
Old 12-04-2009, 08:19 AM   #6
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Original Poster
Rep: Reputation: 32
Here's th output for that:
Quote:
[I have no name!@Station130 ~]$ id
uid=516 gid=516(Ashok) groups=516(Ashok)
 
Old 12-05-2009, 06:32 AM   #7
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Am I correct that after "uid=516" there's supposed to be "(Ashok)"?
 
Old 12-08-2009, 05:52 AM   #8
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Original Poster
Rep: Reputation: 32
I need the solution to get out of this problem. Due to this, my system is runnig slowly......
 
Old 12-08-2009, 07:59 AM   #9
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
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.
 
  


Reply

Tags
home



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Home, Sweet Home: Sweet Home 3D 2.1 Linux Version LXer Syndicated Linux News 0 10-06-2009 03:10 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Put a 2nd kanotix at hdb 3/,-4/home. 1st is at hdb8/,-9/home.#2 is using 1st's /home sleekmason Linux - General 3 12-09-2006 09:21 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration