Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Users in limbo [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
infecticide
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 262
Location: Regina, SK Canada

PostPosted: Tue Feb 21, 2006 7:45 pm    Post subject: Users in limbo [SOLVED] Reply with quote

I've been messing around with Samba for about a week trying to find a way to auth users via /etc/passwd, was unable to find one until this morning when I found a website that mentioned using pdbedit to import backend types.

Just for the hell of it I entered:

Code:

pdbedit -i smbpasswd:/etc/passwd -e smbpasswd


It spit out a seemingly harmless error (indicating it couldn't parse the file) and went back to bash.

I tried to login as my user browns(uid=1000), I now see this on the command prompt:
Code:

I have no name!@Samba ~ $


I see this for all my users except root, even ones i've created, recereated!

So I looked in my /etc/passwd and it looks fine!
/etc/passwd
Code:

browns:x:1000:100::/home/browns:/bin/bash


I have a shadow entry:
/etc/shadow
Code:

browns:<random stuff>:13200:0:99999:7:::


I can login, I can sudo but when in KDE and I open I root console I see this error:
Code:

cannot find user w/ uid 1000
Password:



any ideas?[/code]


Last edited by infecticide on Fri Mar 31, 2006 6:20 am; edited 1 time in total
Back to top
View user's profile Send private message
infecticide
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 262
Location: Regina, SK Canada

PostPosted: Fri Mar 31, 2006 6:20 am    Post subject: Reply with quote

Finally ended up getting this problem solved. Seems the permissions on the /etc/passwd file were somehow changed. Change em back to where they should be and all is well.

-rw-r--r-- 1 root root 3.3K Mar 17 21:00 /etc/passwd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum