Operating System - HP-UX
1830895 Members
1561 Online
110017 Solutions
New Discussion

Starting HP-UX Secure Shell

 
Cesar Roldan
Occasional Contributor

Starting HP-UX Secure Shell

Hi, i can't start the ssh in my server

Starting HP-UX Secure Shell
Output from "/sbin/rc2.d/S393secsh start":
----------------------------
Privilege separation user sshd does not exist

EXIT CODE: 255
"/sbin/rc2.d/S393secsh start" FAILED

please give me some ideas, to resolve my problem

thanks
6 REPLIES 6
Coolmar
Esteemed Contributor

Re: Starting HP-UX Secure Shell

Patrick Wallek
Honored Contributor

Re: Starting HP-UX Secure Shell

The error tells you exactly what the problem is.

"Privilege separation user sshd does not exist"

The user sshd MUST exist on your system. Normally, the installation of HP's SSH bundle takes care of this. If it didn't you might need to try reinstalling SSH.
Geoff Wild
Honored Contributor

Re: Starting HP-UX Secure Shell

Or just add the user sshd - uid 102 gid 102 I believe.

Myself, I'd re-install Secure Shell .

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
spex
Honored Contributor

Re: Starting HP-UX Secure Shell

Hi,

A quick check of some of my systems reveals that sshd's uid and gid can vary from one to another. If you feel like manually adding the user, the /etc/passwd entry is of the form:

sshd:*:192:103:sshd
privsep:/var/empty:/bin/false

and the /etc/group entry is of the form:
sshd::103:

However, I also recommend reinstalling HP-UX Secure Shell.

PCS
Peter Nikitka
Honored Contributor

Re: Starting HP-UX Secure Shell

Hi,

when you have no problem starting sshd later, it may that your priv-users sshd is a NIS user, but NIS was not already active when sshd was started.

I changed the startup of sshd to a later point, where NIS was active and no langer got this messages.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
CDI Support
Advisor

Re: Starting HP-UX Secure Shell

My machine had same problem after importing password from another machine.
Added user
sshd:*:103:103:sshd privsep:/var/empty:/bin/false

Then it worked ok

- Mainak