root permission denied(ssh) on hpux

hp

    Sponsored Links

    Next

  • 1. HP-UX media.
    I am tempted to buy a PA-RISC machine I don't need but... I wonder if I have a problem with the machine which is best resolved by reinstalling the O/S (eg drive is toast) from some from of media and it doesn't come included, where could I get my hands on it? I say this because I have a > 5 yr old IDE drive failing in another UNIX box and I have go to hunting for not only the OS media but the 101 patches that has been applied... and the kernel parameters... Not advocating anything but I can download Solaris for SPARC, Linux (even the PA-RISC version) and burn ISOs and away we go...BUT ... I couldn't find nada on the HP site. Maybe I wan't looking in the right places.. Maybe boot of the net (through a router no less) and install from there...? The challenges that would involve...? And what about licensing? Can I get a license for educational/devloper/home use ...? I haven't had a lot of experience in HP-UX and I am curious and I just don't have enough servers in the house to keep me warm in the winter. ;-)
  • 2. gcc compiling error
    I had installed the HPUX 11.11 in HP 715 machine and had installed the gcc-3.3.4 by swinstall program. Now I want to install the GNU packages by the gcc compiler. When I tried to install the coreutils-5.2.1, I met some gcc compiling error in the procedure of configure command. Please help me to solve the compiling errors. # ./configure configure: loading cache config.cache checking for a BSD-compatible install... config/install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for desired default level of POSIX conformance... none-specified checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. #
  • 3. Need Help with LVM Mirroring
    How do I ensure that the correct LVM Mirroring Products are installed? I am running HPUX 11.11
  • 4. LVM mirroring
    I am trying to mirror a disk on an old C200 visualize workstation. I have an internal boot disk and an external FWSCSI drive. When I use the command lvm -m 1 /dev/dsk/....... I get an error saying -m is an invalid option. Why so?
  • 5. HP Jet Direct Weirdness on HP_UX 11.0
    I have about 80 300X's deployed across my WAN. I one particular location what is occurring is that the HP-UX box can comminuate to the printers fine across the WAN. Then I will lose a printer or two, and I'm unable to ping the printers from the HP-UX box. If I connect to the local subnet of where the printers are located, I can ping those printers just fine. It's as if the jet direct cannot go across the router. If I leave the Jet Directs unplugged for 24 hours and plug them back in, they are once again able to communicate to the HP_UX box once again, but then the cycle will repeat itself with different printers involved. I have checked for duplicate IP address, proper gateway's etc. With nothing out of the ordinary. Still I am stumped. The network is connected via a VPN link through a T-1. Routing through Cisco gear. The printers are set to a manual IP address. Any help in resolving this matter would be great.

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