root permission denied(ssh) on hpux


    Sponsored Links


  • 1. Data Protector 6.0: Extra delay after backup is complete
    Hi, I noticed this effect when watching the progress of some short (10 minutes) backup using Data Protector 6.0: A remote client (Linux) was to be backed up to some file device locally configured on the HP-UX 11.11 cell server. A media was loaded, and backing up objects began. After the last object completed, I was expecting Data Protector to unload the media (and finish the session). However it took minutes until something happened! AFAIK the database of Data Protector is updated _after_ the media to write has been unloaded successfully, so updating the database most likely would not explain the delay. (Anyway the database is located on an EVA 4000, so it shouldn't be extremely terribly slow). Enjoy, Ulrich
  • 2. Data Protector 6.0: copies of media and objects
    Hi, some surprises when using copied objects in Data Protector 6.0: One of the surprises with media copy was that even the name of the media was copied (overwriting the existing name). With user-readable labels, this is somehow unintened, so I always preferred an object copy... Recently I had to restore a file that had been saved to a media which objects had been copied and the original objects had been recycled. The first surprise was that the restore dialogue showed the media label o where the object originally had been put, but not the label of the media where the object is now! As the original media had not been exported (nor being overwritten), the restore dialog showed one media label twice (as if I had used media copy, but I had used object copy). Furthermore the dialogue referred to one media in a file library that should have been completely destroyed (according to instructions from the HP RC). It took me two attempts to get the media selection right (indirectly via selection the version of the file that corresponds to a specific session which (in turn) put its data onto s specific media). Simple, isn't it? The other strange thing with media and object copy is that a scheduled object copy has different options from an interactive copy. Thus I had to dummy-schedule some operations once temporarily. Maybe two different programmers were working on those two parts of the program... Regards, Ulrich
  • 3. Exceeded file size limit(coredump)
    Hello. Exceeded file size limit(coredump) I am getting this error on a single HP-UX machine in any program i compile. On another HP-UX machine the programs work fine. I have looked into the ulimit -a but it all looks fine. Here is the output: # ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 1048576 stack(kbytes) 131072 memory(kbytes) unlimited coredump(blocks) unlimited # I thougt t may be a kernel parameter which is set wrong? Regards, Andrej
  • 4. OpenSSH on HP-UX 10.20
    I just put OpenSSH (from thewrittenword depot, er, depository) onto our aging 745i workstation running 10.20. It seems to have set everything up properly, including PRNGd, so I rebooted the machine. It's now been sitting there at the "Start OpenSSH daemon" stage of startup for about 15 minutes now. Is this normal, at first I thought it must be taking it's time generating the keys, now I'm not so sure. I'm not hugely experienced with system administration, I just use it to run instrumentation and need ssh to get files on and off the system. Any help, advice would be greatly appreciated. Stewart
  • 5. lsof
    ...has anyone used this tool? wondering how accurate it is on HPUX 11.11i. I ran it but it lists alot of IPv4 ports listed as *.* and IDLE.

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 99 guest