root permission denied(ssh) on hpux

hp

    Sponsored Links

    Next

  • 1. expired server certificate for www4.itrc.hp.com
    Hi! I want to apologize that I said HP has fixed the problem with the server certificate for www4.itrc.hp.com that expired on October 3rd. When I could log in, I had been redirected to a different server. Today I'm redirected to www4 again, and the problem is still there. Regards, Ulrich
  • 2. Help! problem : error is/usr/lib/hpux32/dld.so: Unable to find library 'libperl.so'
    I did this chmod -R 644 /opt/perl_32/lib/5.8.8 to recursively change the permission in the perl libraries. then I started to see the message above. /usr/lib/hpux32/dld.so: Unable to find library 'libperl.so' how do I repair this. here is the ls on libperl.so -r-xr-xr-x 1 bin bin 4324272 Sep 13 23:24 /opt/perl_64/ lib/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/CORE/libperl.so I wish I knew what it was before. Thanks Mike
  • 3. Data Protector 6.0's Enhanced Incremental Backup: Performance and security
    There are things in software one wouldn't believe if someone told you, unless you experience it: We have severe backup performance problems with Data Protector 6.0 and the Enhanced Incremental Backup. One of our incremental backups took over 5 hours while performance was about that of an 38 Baud modem. I had reported that, but I found out more: 1) It seems the Enhanced (it it enhanced slowness) Incremental Backup seems to store at least one file on the client (why there?) for every file it does backup. Just imageine you have a lot of little files. Those files are stored within /var/opt/omni/enhincrdb. 2) According to HP's incredible security standards, that mentioned directory and any content within is created with read-write permissions for everyone! 3) I could not correcly complete the mental experiment of what will happen if you forget to exclude the directory /var/opt/omni/enhincrdb from backup, but on one client that directory /var/opt/omni/enhincrdb has 4113 directories and 229072 files already. Just incase thos programmers at HP do not know: a "database" is not a random collection of hundred thousands of files put in some directory. Maybe see what sleepycat.com did in the last years. Regards, Ulrich
  • 4. CDE on hpux 11.11
    Hello, I recently obtained a C3750 from ebay a long with HP-UX 11iv1 Dec 2003 FOE distribution. When doing a clean (guided) install everything succeeds. However I eventually reach to a few problems. Initially I had some problems booting the cd's and kept getting hardware errors. However replacing the cdrom drive with an original one supplied from HP (a Mutsumi) then those hardware errors stopped. Furthermore I had to save the changes with the monitor type almost 10 times before it eventually started to remember that I wanted 1024x768 resolution. Now I'm stuck post installation though. By default it installs a software distribution agent which takes like 20 minutes before it times up at startup. Then a fibrechannel controller also tages ages for the driver to load since it's not present in the machine. I assume I can just disable them later. However CDE fails to startup. I get the console after 30 minutes of wait and then it attempts to startup in CDE. However it fails to do so. It keeps trying a few times and then says beep a few times before reverting to console. The gfx card is a FX10 Pro (A1299B). Any ideas on how to get CDE to load? Thanks. -- Henrik

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:
09:b5:60:bc:a2:b3:6e:c9:c4:f4:87.
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

1.
# 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)

2.
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

Hi,

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
vice-versa.

What could be causing the 'Permission Denied' response?



Thanks,
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
remote)

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
sshfs?

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



Return to hp

 

Who is online

Users browsing this forum: No registered users and 95 guest