Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Privilege separation user sshd does not exist

Subject: Re: Privilege separation user sshd does not exist
Date: Mon, 04 Jun 2007 23:45:57 -0500
On Tue, 2007-06-05 at 13:38 +1000, Darren Tucker wrote:
Dallas Clement wrote:
[...]
Now I'm having problems with configuring the pty for this user.  Can you
give me any tips here?

Make sure you have /dev/pts mounted (if you have devpts configured in 
your kernel) or that you have the pty device nodes in /dev/ (if you 
don't have devpts in your kernel).  It's been a while since I had to do 
the latter, but "cd /dev && ./MAKEDEV pty" will probably do it.


I've got /dev/pts mounted:

# mount
none on /dev/pts type devpts (rw)

I've also got a pty device defined:

# ls -l dev
crw-rw-rw-      1 root  root    2,      0 Jun  5 12:24 ptyp0


But I'm still seeing an error in the sshd log:

error: openpty: No such file or directory

I think I'm awfully close, but there's something else not quite right.

<Prev in Thread] Current Thread [Next in Thread>