SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think there is something wrong with your password file. The first error you gave us indicated that there was missing an user. That user should have been in your password file. It was in all Slack installations I did since this feature appeared in OpenSSH (priv seperation).
Next thing I read is a message that you had to restore the password file.
After you did that you get a message to go away because you don't exist. That's the password file as well if I remember well. You probably messed up your password file.
I don't know if this is relevant (and don't see how it could be), but in my /etc/passwd file, the sshd user is listed just after nobody and just before the regular users. So it makes me wonder, did you restore the passwd file by editing it and adding the missing line(s), or by moving an original copy back into place? While your current file seems more correct in the sense that the usernumbers are sorted, it may be causing a problem. I'd be surprised if this were the cause of your problem, but what the heck, it's worth a shot.
cerbere, thanks for te response, ill certainly try to move it once i get home (@school now). as far as the passwd file. i made a backup before i did any drastic changes to the file so i basically just renamed 'passwd-' to 'passwd' overwriting the existing passwd that i had a problem with. but ever since then ive been getting errors from DIFFERENT programs saying 'u know user id 1000' which is strange. i have never seen this error before. i see these errors when i exit X. and every program i access such as gaim, xine and/or xmms it has this error. i think its related to the error im having in ssh. any more suggestions people? thanks in advance.
ok..update on the situation..i can log on when im root 'ssh localhost' so i know the daemon is up and running.
but im still getting the "you dont exist, go away!" msg when i try to log in from any other user. when i log out of X i see something like this on the screen:
Code:
(process:1313): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (102)
** (process:1313): WARNING **: Owner of /tmp/orbit-somebody is not the current user
could not get user name from user id
(xchat:1506): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (102)
cannot find user w/ uid 102
cannot find user w/ uid 102
ive changed the uid to see if that would do anything but theres no luck. anyone know why ssh works only in root and not on regular user accounts? =\
Messing around with /etc/passwd can cause quite a bit of headaches, as I'm sure you already know. This may help. I do it all the time and have never had any problems with it:
1) Reboot to console. Not sure if you have to, but I know it doesn't hurt.
2) Login as root
3)
Code:
cd /tmp
rm -r *
Make SURE you are in /tmp. You can accidently delete a bunch of stuff with that command if you aren't careful.
4) Reboot into whatever you like, e.g. console, X, whatever.
5) See if your problem isn't solved.
May just be that the userid's that are stored in /tmp are all messed up now. This will fix that, for sure.
Also, I am pretty crappy at reading /etc/passwd , so I could be wrong here, but It looks to me like you don't have a user with userid 102. That's your problem. Maybe deleting everything in /tmp will correct this problem for you.
shilo, i deleted everything in my /tmp folder logged in and logged back out of X and 'xmms-centro.0=' wasnt there anymore...but 'xmms-somebody.0=' is still there. i dont really know whats going on.
and uid 102...i had changed that in my passwd file to see if it would make any difference. but obviously it hasnt. getting discouraged here..dont really know what i did...probably just going to re-install slack and compile 2.6.5 again making sure whats working and whats not after every change i make on the system.
When you restored your passwd file, you changed what your computer thinks is your UID number. SSH uses the UID over the Username, so since your ID number of 102 doesn't exist in passwd, it mucks things up.
This may not help, but I'd try this as root...
Code:
cd /home/
chown -R nixel nixel/*
That may fix this by reassigning the UID that passwd states to every file in your home directory as its owner.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.