Sponsored Content
Full Discussion: running NIS over ssh
Special Forums Cybersecurity running NIS over ssh Post 8481 by Andy Hibbins on Friday 12th of October 2001 06:34:48 AM
Old 10-12-2001
running NIS over ssh

Hi Guys,

Is it possible to run NIS over ssh as I want to run NIS without the security risks that would normally follow?

If you have got any suggestions please share them with me.

Andy H
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

2. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

3. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

4. Shell Programming and Scripting

Validating that the NIS and NIS+ services are disabled

I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies

5. Shell Programming and Scripting

ssh running on function

i have a problem regarding running an ssh command while inside "function" script structure #!/usr/bin/bash func1(){ script=$1 ssh user@server "$script" } cat script.txt | while read line do func1 $line done exit 0 the problem is when ssh ran,... (1 Reply)
Discussion started by: ryandegreat25
1 Replies

6. Shell Programming and Scripting

Running command using SSH

Hi All, I am trying to run my script using ssh. Below is the code snippet #!/bin/bash ssh username@useipapd03 'bash -s' #To ensure If JMSdirectory exists or not if then echo "JMS mounts................exist'>>OutputResult.txt else echo "JMS mounts................not... (10 Replies)
Discussion started by: sharsour
10 Replies

7. Red Hat

Yppasswdd not running on nis master server

Goodmorning i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd. ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies

8. UNIX for Dummies Questions & Answers

Script still running after ssh

I have the lines below on my script: script.ksh: case `hostname` in some_host) ssh server1A "/home/script.ksh $1 $2" ssh server1B "/home/script.ksh $1 $2" ssh server1C "/home/script.ksh $1 $2" ssh server1D "/home/script.ksh $1 $2" ssh... (1 Reply)
Discussion started by: erin00
1 Replies

9. AIX

Ssh not allowing NIS user to login

As I do a ssh <nis_user>@server1 from server2, ssh prompts for certificates (as expected the first time), then it prompts for the users password, as soon as I enter the password, I get a Connection to server1 closed by remote host, and connection to server1 closed. and I disconnect back to the... (3 Replies)
Discussion started by: mrmurdock
3 Replies

10. Solaris

Ssh onto Solaris servers (which uses NIS)

Sys admin has provided me username and password and advised that solaris uses nis (and then I've been given hostnames). I've downloaded putty but it gives me authentication failure. Nothing special I have to do if its NIS authentication? (1 Reply)
Discussion started by: psychocandy
1 Replies
ypset(1M)																 ypset(1M)

NAME
ypset - bind to particular Network Information Service server SYNOPSIS
host] domain] server Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the service remains the same. DESCRIPTION
tells to get Network Information Service (NIS) services for the specified domain from the process running on server (see ypserv(1M) and ypbind(1M)). server is the NIS server that the NIS client binds to, and is specified as either a host name or an IP address. If server is down or is not running this is not discovered until a local NIS client process tries to obtain a binding for the domain. The daemon then tests the binding set by If the binding cannot be made to the requested server, attempts to rebind to another server in the same domain present in the ypservers file. NOTE: In order to run must be initiated with the or options. For more information on how to initiate see ypbind(1M). The command is useful for binding a client node that is not on a broadcast network. If a client node exists on a broadcast network which has no NIS server running, and if there is a network with one running that is available via a gateway, can establish a binding through that gateway. It is also useful for debugging NIS client applications such as when a NIS map exists only at a single NIS server. In cases where several hosts on the local net are supplying NIS services, it is possible for to rebind to another host, even while you attempt to find out if the operation succeeded. For example, typing followed by and receiving the reply may be confusing. It could occur when host1 does not respond to because its process is not running or is overloaded, and host2, running gets the binding. The server is the NIS server to bind to, specified as either a host name or an IP address. Refer to ypfiles(4) and ypserv(1M) for an overview of the Network Information Service. Options recognizes the following options and command-line arguments: Bind server for the Version 2 NIS protocol. Set the binding on host instead of locally. host can be specified as a host name or an IP address. Use domain instead of the default domain returned by (see domainname(1)). DIAGNOSTICS
The user is not root, or ypbind was run without the flags. See ypserv(1M) for explanations of the flags. The user is not root, or ypbind was run without one of the flags. See ypserv(1M) for explanations of the flags. WARNINGS
Starting with ONCplus version B.11.31.02, the NIS Version 1 protocol is no longer available. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
domainname(1), ypwhich(1), ypserv(1M), ypfiles(4). ypset(1M)
All times are GMT -4. The time now is 05:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy