10-07-2010
Configuring /etc/hosts.equiv file in AIX 5.3
Need help in configuring /etc/host.equiv file. Though i configure the /etc/hosts.equiv file to prevent users from connecting remotely to the local server " -host" in /etc/hosts.equiv file, it allows the users to login from remote machine. we don't have .rhosts file on the local server. Could you please let me know, how to configure the /etc/hosts.equiv file to prevent login from remote hosts.
Also please let me know, how to configure /etc/hosts.equiv to allow login from remote server without entering password.
10 More Discussions You Might Find Interesting
1. AIX
Hi All,
I have Network color laser printer which is to be configured in AIX5L.
The Model of the printer is OKI C3200.
Will it is supported with AIX 5..? I could not find any drivers for this.
Will any compatible drivers are available for this printer... I tried with the default drivers hplj-4... (2 Replies)
Discussion started by: helloajith
2 Replies
2. AIX
Hi,
We have two IBM pSeires servers running IBM AIX. I want to configure the IBM servers to print on the network printer.
Here is the following configuration
IBM Server-I IP Add: 192.168.0.5
IBM Server-II IP Add: 192.168.0.6
Network Printer IP Add: 192.168.0.15
I'm new to IBM AIX OS.... (0 Replies)
Discussion started by: berhanemt
0 Replies
3. AIX
We run two p5 nodes running AIX 5L in a cluster mode (HACMP), both the nodes share external disk arrays. Only the primary node can access the shared disks at a given point of time.
We are in the process of adding two new disks to the disk arrays so as to make them available to the existing... (3 Replies)
Discussion started by: dnicky
3 Replies
4. AIX
Hi All,
I need to allow "sftp on ssh" to ALL on the server. How do I modify hosts.allow to accept all incoming sftp?
Thanks for any comment you may add. (4 Replies)
Discussion started by: itik
4 Replies
5. AIX
Hi All
I am new to Apache and AIX and trying to configure Subversion tool in IBM machine with AIX 5.3.Apache is required for client to connect to Subversion Server with http protocol.
1.Installed Apache 2.2.11 and its dependencies via RPM
2.Configured httpd.conf file.
3.Started "httpd"... (1 Reply)
Discussion started by: rajivdp
1 Replies
6. AIX
Hey Guys
Has anyone out here tried configuring AIX as AD clients for authentication?
I have seen redbooks explaining stuffs but has it worked well for anyone?
Thanks
Bala (1 Reply)
Discussion started by: balaji_prk
1 Replies
7. AIX
Hello All,
Let me quickly come down to my problem..
I have a file with following description:
==
root:/me01/tia/filetr ans # ls -lrt DW_NUM_OF_ROWS_TSP.txt
-rwxrwxr-- 1 tiaoas oinstall 43 Jun 07 17:12 DW_NUM_OF_ROWS_TSP.txt
root:/me01/tia/filetrans # aclget DW_NUM_OF_ROWS_TSP.txt
*... (3 Replies)
Discussion started by: thisissouvik
3 Replies
8. AIX
Hi,
I have found such these entries in the hosts.equiv file in the AIX (6.1/5.3):
root host123
oracle host5487
Please tell the risks? Can these hosts enter the system without passwords??
should these entries be removed?
Thanks
Naveed (1 Reply)
Discussion started by: naveedaix
1 Replies
9. AIX
hi all
just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box.
it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames.
the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies
10. Solaris
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
LEARN ABOUT DEBIAN
pam_rhosts
PAM_RHOSTS(8) Linux-PAM Manual PAM_RHOSTS(8)
NAME
pam_rhosts - The rhosts PAM module
SYNOPSIS
pam_rhosts.so
DESCRIPTION
This module performs the standard network authentication for services, as used by traditional implementations of rlogin and rsh etc.
The authentication mechanism of this module is based on the contents of two files; /etc/hosts.equiv (or and ~/.rhosts. Firstly, hosts
listed in the former file are treated as equivalent to the localhost. Secondly, entries in the user's own copy of the latter file is used
to map "remote-host remote-user" pairs to that user's account on the current host. Access is granted to the user if their host is present
in /etc/hosts.equiv and their remote account is identical to their local one, or if their remote account has an entry in their personal
configuration file.
The module authenticates a remote user (internally specified by the item PAM_RUSER connecting from the remote host (internally specified by
the item PAM_RHOST). Accordingly, for applications to be compatible this authentication module they must set these items prior to calling
pam_authenticate(). The module is not capable of independently probing the network connection for such information.
OPTIONS
debug
Print debug information.
silent
Don't print informative messages.
superuser=account
Handle account as root.
MODULE TYPES PROVIDED
Only the auth module type is provided.
RETURN VALUES
PAM_AUTH_ERR
The remote host, remote user name or the local user name couldn't be determined or access was denied by .rhosts file.
PAM_USER_UNKNOWN
User is not known to system.
EXAMPLES
To grant a remote user access by /etc/hosts.equiv or .rhosts for rsh add the following lines to /etc/pam.d/rsh:
#%PAM-1.0
#
auth required pam_rhosts.so
auth required pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
SEE ALSO
rootok(3), hosts.equiv(5), rhosts(5), pam.conf(5), pam.d(5), pam(7)
AUTHOR
pam_rhosts was written by Thorsten Kukuk <kukuk@thkukuk.de>
Linux-PAM Manual 06/04/2011 PAM_RHOSTS(8)