View previous topic :: View next topic |
Author |
Message |
infecticide Apprentice
Joined: 10 Mar 2004 Posts: 262 Location: Regina, SK Canada
|
Posted: Tue Feb 21, 2006 7:45 pm Post subject: Users in limbo [SOLVED] |
|
|
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 |
|
|
infecticide Apprentice
Joined: 10 Mar 2004 Posts: 262 Location: Regina, SK Canada
|
Posted: Fri Mar 31, 2006 6:20 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|