SlackwareThis Forum is for the discussion of Slackware Linux.
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.
There is less than 2 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
im having trouble setting up my ssh daemon. the documentation i read assumes you basically know how ssh works. i dont. the daemon isnt starting when i boot and i get an error.
"Privilege separation user sshd does not exist"
what does this mean?
ive searched this forum and found nothing helpful in slackware to setup an ssh daemon. most say that sshd runs on a fresh install. yes..this was the case. but somewhere between the fresh install (6 hrs ago) and now, ssh is no longer seen on netstat -l and everytime i try to start/restart it i get the "Privilege separation user sshd does not exist" error. once this is done im still lost? any have the time to walk me through the basics?
Yeah, I think ringwraith is on to something, there. So sshd was working just fine after your frsh install. Six hours later, it doesn't work any more. What did you do in the last six hours?
Post up some specifics, and someone can probably help you out. Of everything I run on my computer, sshd has given me the least amount of trouble. I'm guessing the same as ringwraith, probably a kernel compilation error. Of course it's a total shot in the dark, since all we really know is that you are trying to run sshd( though we have a pretty good idea that you are running Slackware, probably 9.1, and probably with the 2.6.5 kernel).
Does the user sshd exist on your computer (look in /etc/passwd)?
And it seems like a security hole. Why would you want to tell an unauthorized user that the username he tried does not exist? It makes it that much easier to run a script that tries different usernames until that message is not returned, then he knows that he has found a valid username.
Currently, my sshd (Slackware 9.0) will accept any username and then issue the password challenge, then it gives a generic message of 'Permission denied, please try again.' until the third attempted password, whereupon it gives the nearly as generic message 'Permission denied (publickey,password,keyboard-interactive).' and disconnects. This way the person doesn't know which is incorrect, the username or password or both.
I'd advise you to change this behavior if you can. Unfortunately, I'm afraid I can't tell you how to accomplish this, since it was the default behavior for my install. I can suggest that you read through /etc/ssh/sshd_config, as well as through the various files in /usr/doc/openssh-*/ and, while you're at it, 'man ssh' and 'man sshd'.
As for adding users, root can add a user with the command 'adduser'.
$ ssh -l user 127.0.0.1 -c 3des
You don't exist, go away!
# ssh -l user 127.0.0.1 -c 3des
HMM... I never go to that much trouble to use ssh. I just check it out on my local computer with something simple, like:
I add users with the cryptic command:
Try those out. I think I answered your questions, just in reverse order.
I just tried your command on my computer. Here's what I got.
shilo@shilo:~$ ssh -l user 127.0.0.1 -c 3des
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is 6b:94:c4:06:f6:1f:aa:00:81:11:1c:af:98:f4:b6:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
Of course, I don't have a user named 'user' on my system, so I don't have a password.
Originally posted by ringwraith Yeah, he still hasn't answered the question... did you install a custom kernel, did you install a firewall script, did you mess with iptables ....... what happened after the install.
just a custom kernel 2.6.5. no firewall script no iptables. all i did was compile the 2.6.5 kernel, change a few styles in flux set up netscape to my liking. thats about it.
Think you have probably done more than that. You say you had to restore your old /etc/passwd file , which indicates that you also edited your /etc/passwd file . We are all left wondering what else you've done. I think the reason everyone is wondering is because most of us, and I could be wrong, here did one of the following in order to get sshd going.
(This will start up sshd at boot time & get it started for you right now, without a reboot)
the rc.sshd script is already executable and it already boots up when i turn on computer. the only reason i edit the file was just to delete the other entries that were not users..but i fully restored that.
$ ssh localhost
You don't exist, go away!
and if everyone must know the details these are the files i edited after kernel compile:
as far as installing things i installed the artwiz fonts and aterm. nothing else was changed.