Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to "remsh" from a Unix machine to a Linux or SunOS Post 302139900 by fpmurphy on Tuesday 9th of October 2007 08:14:12 PM
Old 10-09-2007
Try include the fully qualified domain names in your .rhosts file.
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour

Hi, We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0. Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ? I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc. ... (1 Reply)
Discussion started by: sameerdes
1 Replies

2. Shell Programming and Scripting

remsh newhost "for loop"

Hi, In ksh how can I execute something like this: remsh newhost "for i in 1 2 3 4 5 do echo file$i; cat file$i; done" I cannot pass the contrl J or enter in th above line which is required by the for loop. Thanks... (1 Reply)
Discussion started by: alantang
1 Replies

3. UNIX for Advanced & Expert Users

Remsh between Hp-ux and Linux or SunOS

Hi All, I`m trying to execute something remotely using Remsh. Up to now it worked on HP-UX machines ( editing the /etc/hosts. .rhosts and creating user to the remote machine using SAM) but i cannot configure it to work from HP-UX to Linux or SunOS. Can anybody help me with this? THanks (1 Reply)
Discussion started by: elthox
1 Replies

4. Solaris

significance of "+" char in SunOS "ls -l" output

Hi, I've noticed that the permissions output from "ls -l" under SunOS differs from Linux in that after the "rwxrwxrwx" field, there is an additional "+" character that may or may not be there. What is the significance of this character? Thanks, Suan (6 Replies)
Discussion started by: sayeo
6 Replies

5. UNIX for Advanced & Expert Users

Command to find the "unix machine type".

Hi all, Just need some help the following scenario, Is there any UNIX command to find the unix machine type (like whether the machine is belongs to Ssun ultra 45 type) like that .. please help me (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
nis_local_names(3NSL)				       Networking Services Library Functions				     nis_local_names(3NSL)

NAME
nis_local_names, nis_local_directory, nis_local_host, nis_local_group, nis_local_principal - NIS+ local names SYNOPSIS
cc [ flag ... ] file ... -lnsl [ library ... ] #include <rpcsvc/nis.h> nis_name nis_local_directory(void); nis_name nis_local_host(void); nis_name nis_local_group(void); nis_name nis_local_principal(void); DESCRIPTION
These functions return several default NIS+ names associated with the current process. nis_local_directory() returns the name of the NIS+ domain for this machine. This is currently the same as the Secure RPC domain returned by the sysinfo(2) system call. nis_local_host() returns the NIS+ name of the current machine. This is the fully qualified name for the host and is either the value returned by the gethostname(3C) function or, if the host name is only partially qualified, the concatenation of that value and the name of the NIS+ directory. Note that if a machine's name and address cannot be found in the local NIS+ directory, its hostname must be fully qual- ified. nis_local_group() returns the name of the current NIS+ group name. This is currently set by setting the environment variable NIS_GROUP to the groupname. nis_local_principal() returns the NIS+ principal name for the user associated with the effective UID of the calling process. This function maps the effective uid into a principal name by looking for a LOCAL type credential in the table named cred.org_dir in the default domain. See nisaddcred(1M). The result returned by these routines is a pointer to a data structure with the NIS+ library, and should be considered a "read-only" result and should not be modified. ENVIRONMENT VARIABLES
NIS_GROUP This variable contains the name of the local NIS+ group. If the name is not fully qualified, the value returned by nis_local_directory() will be concatenated to it. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
nisdefaults(1), nisaddcred(1M), sysinfo(2), gethostname(3C), nis_names(3NSL), nis_objects(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 18 Dec 2001 nis_local_names(3NSL)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy