Operating System - HP-UX
1854820 Members
14630 Online
104103 Solutions
New Discussion

sudosh issues on HP-UX (pty permission denied)

 
Anthony_141
Regular Advisor

sudosh issues on HP-UX (pty permission denied)

We are runing HP-UX 11.23.

We installed and compiled sudosh (actually sudosh2) for key logging on our credit card monitoring server.

This has been running fine for several days.

We have a 2 node cluster (Serviceguard).

This morning we noticed on one of the nodes that we could not login as a normal user (root can still get on).

A normal user gets:
open slave pty: Permission denied
open pty failed: Permission denied

I removed /usr/local/bin/sudosh from /etc/passwd as my shell (putting it back to /usr/bin/ksh) and I was able to get in fine.

So, we are confused why one node stopped working overnight and the other node is still running fine.

I've checked directory and file permissions on the main sudosh files and can not see any differences (/usr/local/bin/sudosh and the log directory /var/adm/sudosh).

Any help would be appreciated.
1 REPLY 1
Anthony_141
Regular Advisor

Re: sudosh issues on HP-UX (pty permission denied)

I figured it out - some of our /dev/pts files did not have correct permissions - they had 660 instead of 666) - so when a human would login they might get the port that sudosh did not have rights to.