root permission denied(ssh) on hpux

hp

    Sponsored Links

    Next

  • 1. pci video card in HP9000 C240
    Hello, Can I put a PC type PCI video (like a MGA Matrox Millenium or a Voodoo 3) card in a HP9000 C240. Thanks Red
  • 2. dynamic link of alternate library name
    In linking a module on a HP-UX 11.0 system using aCC B3910B A.03.31, I have a dynamic library that I need to add to the link step. This library does not follow the 'standard' naming convention, LIBxxxx.SL, but rather has a unique project related name (etiprack). I therefore cannot use the -l or -s link options as they only work with dynamic libraries with a standard name. My problem is when I specify this 'non-standard' library to the linker, I find that I have to specify the complete path (/path/etiprack) to it or the linker won't find it. This presents a problem as this library is now designated as 'static' in the executable attributes: -bash-2.05b$ chatr et3_api_kak et3_api_kak: shared library shared library dynamic path search: SHLIB_PATH enabled first embedded path disabled second Not Defined shared library list: dynamic /usr/lib/libCsup.2 static /afs/apd/func/et4/binhp32/etiprack Notice etiprack is designated as 'static'. I can 'fix' this via chatr -l /afs/apd/func/et4/binhp32/etiprack et3_api However, I'd like to 'fix' this up front during the actual linkedit stage. Is there someway I can link a dynamic library (e.g. etiprack) with a non-standard name and have it designated as dynamic; i.e. without the path having to be hard coded?
  • 3. how to disable ftp version message.
    G'Day, How do I turn off the version message displayed on HPUX 11.0 when you connect to the ftp daemon? C:\>ftp server Connected to server2.xxx.yy.zz. 220 server FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001) ready. User (server2.xxx.yy.zz:(none)): When a user connects to the ftp daemon the version message is displayed. How do you reduce the information leakage from the daemon? What is the message called? Version message, login message, login banner,.. I tried these and more besides no success doing a search on the board. I was hoping for a switch similar to telnet -b that can be used in /etc/inetd.conf file. sean
  • 4. From which CD i can install hp-ux 11i Enterprise OE ?
    Dear HP fans, I have a J5600 workstation. I wish to install on it "HPUX11i-OE-Ent B.11.11.0206 HP-UX Enterprise Operating Environment Component". I have first do an install cycle with a 2 CDs set named "core OS hp-ux 11i Enterprise" Install is successful but only the core OS is installed. There is no trace of Mirror, glance, EMS, OnlineJFS which come with the Enterprise OE bundle. What is the next step to complete my installation ? (which CD to use ??) I found nowhere on my CDs a bundle "HPUX11i-OE-Ent". I have these CDs: application sofware , support+, core OS Foundation, core OS Enterprise. I have also a contract support with HP but their phone number is now forwarded to a new call center which do even know what is a Superdome. I have read and reread HP-UX 11i Version 1 Installation and Update Guide but i am still lost. Any idea ? Thanks. Alain. Brussels Belgium.
  • 5. Measuring the Temperatur of CPU in hpux 11 in L200?
    Yes and No. It depends upon what you are looking for. Check the man page on 'envd'. "Marion Mahr" < XXXX@XXXXX.COM > wrote in message news: XXXX@XXXXX.COM ... > Hey, > are there posibilities to measure the temperatur of the CPU (or > another part of the machine) in this server with this operating > system? Is there a thermal sensor? > Thanks for your help > Marion

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