root permission denied(ssh) on hpux


    Sponsored Links


  • 1. Help: boot
    Hi, I accidently ran "Boot Client" from Ignite server, which modified the hpux 10.20 client boot path (;0)/stand/INSTALL. Now, everytime I reboot the hpux workstation (client), with look for the ignite server and execute installation process. How can I change the system boot path, and bring up the client as normal ? Thanks in advance ! Minh
  • 2. make_tape_recovery
    Can I do a make_tape_recovery for an H40 and use it (boot and restore) at an H30, assuming that all the other aspects are all the same? Jun
  • 3. Socket Connections - never seem to close
    Hi, I have two JAVA applications one running on Sun Solaris 2.6 and the other running on HP-UX 11. The application running on HP-UX acts as a Server and listens at a pre-defined port waiting for client connections. The application on Solaris acts as a client and makes TCP Socket connections to the HP-UX Server application. I notice that even though the client application disconnects by explicitly invoking the method, the Server application (on HP-UX) does not seem to sense the client closure - it continues keeping the socket connection open. Running the 'netstat' command on the Server end shows the client socket connections in the ESTABLISHED state, whereas on the client end 'netstat' shows no trace of the socket connections. This problem occured only in the PRODUCTION environment - never happened in any of the test regions in the org I work for. We use JDK1.4 on both ends. It apparently looks like some problem with the kernel settings / kernel patches either on the Server or the Client end - unable to determine the exact cause of the problem. Has anyone ever faced anything similar to this before ? TIA Jayaram
  • 4. XtDestroyWidget Crash, HPUX11
    Hi, I'm having a problem with an application that we have developed crashing. The cause of this seems to be an xrt widget (Outliner) that is added to a form within a dialog box. When the dialog box widget is destroyed, the application will frequently crash. I know years ago, there was a problem with the recursive destroy of widgets, but I doubt this is the cause here as I can't find any patches for libXt on the HP site. We don't have this problem on any other platform (HPUX10, Solaris, Linux, AIX43) and programs such as purify and valgrind show no errors. The only thing I have noticed is that we build using the Motif 1.2 libraries but when we run chatr on the binary it is pointing to 2.1. Any help would be greatly appreciated as we can't seem to find away around this problem. Thanks. Jon Collins
  • 5. Hard disk problem on PrecisionBook
    Hi, I just got a PrecisionBook off eBay, it's the 12" screen, 160MHz model, it works OK except that one of the hard disks makes a clunking noise, and does not show up in ioscan, or anything else. If I switch the disks in their bays, it does not boot, nor does it boot if I 'boot ALT'. Any tips/advice? Another couple of things: How do I get it to boot right into the CDE login? Right now it boots to a console login. Can PrecisionBooks 'sleep' or anything? Right now it's either on or off. Sometimes there are artifacts on the screen, particularly on the incredibly old version of Netscape that cam with it (HP-UX 11), is this normal? Thanks Garry

root permission denied(ssh) on hpux

Postby Troy » Wed, 02 Dec 2009 11:44:12 GMT

Hi guys,

HPUX B.11.31

screenshot as follows:
ssh host
The authenticity of host 'host' can't be established.
RSA key fingerprint is 75:64:51:7a:ad:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'host...' (RSA) to the list of known hosts.
root@host's password:
Permission denied, please try again.

some investigation below

# grep "^[^#]" /opt/ssh/etc/sshd_config
Protocol 2,1
KerberosAuthentication no
UsePAM no
X11Forwarding no
Subsystem       sftp    /opt/ssh/libexec/sftp-server

refer to sshd_config man pages, the default of PasswordAuthentication
and PermitRootLogin is yes. So i think the sshd_config file is ok.
(another box with the same sshd_config file is ok)

if i append the public key files to /.ssh/authorized_keys, i can login
with root . But it's with PubkeyAuthentication.

My issue is why root permission denied with PasswordAuthentication

any suggestion is welcome. Thanks in advance.

Re: root permission denied(ssh) on hpux

Postby Kilgaard » Sat, 12 Dec 2009 08:28:49 GMT

What does your /etc/securetty file look like?

Similar Threads:

1.cannot rename, permission denied

2.automount permission denied...

Hi All,

I've got HP-UX11.11 and configured /etc/auto_master with:

/net -hosts -nosuid,soft

I've got AUTOFS=1 in nfsconf.

When I cd /tmp_mnt/<hostname>/<share dir>

I see nothing.  On my aix and solaris machines, I see the shared
directory fine (also through automount).

Can anyone tell me what I've done wrong in my configuration on HP? This
is causing me grief.

Thank you much.  Sincerely, George

3.Permission Denied on NFS Mount


On the host containing the filesystem, I added a line to
/etc/exports as follows:

/<fs> -root=<client>, access=<client>

I executed /usr/sbin/exportfs -a

On the client, I added a line in /etc/fstab as follows;

<host>:/<fs> /<fs> nfs defaults 0 0

On the client, I executed 'mount <serverhost>:/<fs>', but
HP-UX (v11.11) responded with 'Permission Denied'.

I am root in both client and server. Root has full permission
on the filesystems. (I set the permissions to 777).

I can telnet, ftp, etc.. from the server to the client, and

What could be causing the 'Permission Denied' response?

BASIS Consultant

4.Error from cron - sh: Mail: Execute permission denied

I got the following error when trying to run a command from cron:
sh: Mail: Execute permission denied

The solution:  I had one too many asterisks in my crontab.  Duh!

Just thought I'd post this here so if anyone else searches for this
error they will find it.

5.sshfs to a machine ok but ls fail with Permission denied

On Aug 14, 3:01m, Maxwell Lol < XXXX@XXXXX.COM > wrote:
> TsanChung < XXXX@XXXXX.COM > writes:
> > root@local#ls -l /home/twong/remote
> > ;...
> > drwxrwxr-x 1 505 505 4096 Apr 24 17:39 bin>
> > files in the /home/twong directory of remote can be listed by root at>
> > local but the id is not twong.>
> I don't know what sshfs is, but use the id command to check what your UID and GID are.>
> Check the FAQ. It says something about he options>
> -o idmap=user -o uid=505 -g gid=505

twong@local$ id twong
uid=500(twong) gid=500(twong) groups=500(twong),101(fuse)
twong@local$ sudo sshfs -o idmap=user -o uid=500 -o gid=500 remote:/
home/twong /home/twong/remote
Password:  (must enter root pw of remote, do not accept twong pw of

twong@local$ ls -l /home/twong/remote
ls: /home/twong/remote: Permission denied

root@local# ls -l /home/twong/remote
total 36
drwxr-xr-x 1 twong twong   96 Aug 12 11:42 cert
Files in the /home/twong directory of remote can be listed by root but
not by twong at local.
How to make twong to access the /home/twong directory of remote with

6. date: no permission, but I am root!

Return to hp


Who is online

Users browsing this forum: No registered users and 55 guest