05-07-2002
a- Add the IP, host_name and aliases in the /etc/hosts in both machines.
In the AIX machine
if [ ! f /etc/netsvc.conf ]
then
echo "hosts=local,bind" > /etc/netsvc.conf
else
echo "review the hosts definitions in the /etc/netsvc.conf"
echo "hosts=local,bind"
fi
In the linux machine:
in the /etc/nsswitch.conf
hosts: files dns
b- Add the .rhosts in the home directory of the user in both machines:
example for root:
linux box:
echo "server_aix root" >> $HOME/.rhosts
aix box:
echo "server_linux root" >> $HOME/.rhosts
c- Permit the root login in both machines
linux box:
Add the apropiate entry in the /etc/securetty
aix box:
chuser login=true rlogin=true root
Good luck. Hugo.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
When i start my pc after the installation of suse linux it ask me for resolution but not for graphical interface, for console, can i run a command to change it again?
Thanx! (3 Replies)
Discussion started by: Linux_fan
3 Replies
2. UNIX for Advanced & Expert Users
My machine (Sun Blade 100) has just had it's OS reinstalled (solaris 8). For some reason the monitor resolution has changed (decreaded so that I have less monitor real esate).
Does anybody know the command to change monitor resolution in Solaris?
Cheers
AreaMan (2 Replies)
Discussion started by: AreaMan
2 Replies
3. UNIX for Advanced & Expert Users
Guys,
We are going to order the wide screen monitor with 1920*1200 resolution for one U60 in our client side, that their current graphic card is Elite3D-m6 and the higher resolution which this card supports is 1280*1024.
I just want to make sure wehther we are able to work with this monitor via... (1 Reply)
Discussion started by: nikk
1 Replies
4. Solaris
Hi,
I got solaris 10 installed on a E250 and i am expericing issues resolving dns.
from some research i think it's becuase where i haven't set-up NIS and i don't intend too as i am just setting up a box to poke communigate pro.
Any help or advice please?
Thanks in advance
Alan (1 Reply)
Discussion started by: e250user
1 Replies
5. IP Networking
I have an AIX4.3 box on our subnet, called LIMEST3.OURDOMAIN.CO.UK, with IP address 10.103.1.13
It has the following entry in its own /etc/hosts:
10.103.1.13 limest3 limest3.ourdomain.co.uk
Now, if I ping limest3.ourdomain.co.uk or ping 10.103.1.13, the result is instant. However if I ping... (4 Replies)
Discussion started by: grimbleshanks
4 Replies
6. Solaris
Hi friends, i had small problem in my home pc i install solaris 10 but GUI is very big cannot view any thing, but i can open terminal where with very difficulty is there any command to re size my resolution some thing like 1024. if not i want to log in default console other than GUI only terminal... (5 Replies)
Discussion started by: kurva
5 Replies
7. Solaris
how to change screen resolution in CDE prompt (2 Replies)
Discussion started by: tirupathi
2 Replies
8. Solaris
Hi all. I have a very peculiar problem in Solaris 10. The output of the m64config -prconf command with regards the Card Adapter is the following.
Card possible resolutions: 720x400x85, 640x480x60, 640x480x72, 640x480x75
800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60
... (0 Replies)
Discussion started by: lynxman
0 Replies
9. Windows & DOS: Issues & Discussions
Hello guys,
At windows 7, when multiple ip addresses used on one nic, starting "network" from desktop is able to resolve samba machine's name (freebsd + samba3.5.9 from ports) but does not want to open machine (error: unexisting) nor ping it by name. Works fine if specified by ipv4/ipv6 address... (2 Replies)
Discussion started by: hachik
2 Replies
10. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
LEARN ABOUT LINUX
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)