The tag has no usage guidance.

learn more… | top users | synonyms

7
votes
5answers
2k views

Replacement for NIS/YP

The company that I am working for is embarking on replacing the current locally developed NIS/YP structure with LDAP. We already have AD in house for the Windows stuff and would like to consider ...
6
votes
2answers
5k views

NIS failing to bind

I have a bunch of machines which authenticate via NIS to a central server. I just bought a new CentOS 6.2 client machine, and it can't authenticate. The following is a list of the classics people ...
5
votes
4answers
2k views

Login using Active Directory in Linux using Kerberos 5

I have a problem with setting up auth for users on Linux (Fedora Core 15 to be exact) using Active Directory on Windows 2008 Server with installed support for UNIX systems. I've successfully setup ...
5
votes
2answers
1k views

OSX 10.6 integration into NIS/netgroup/automount infrastructure

I have an existing infrastructure where accounts are maintained under NIS (yp) with no local unix accounts. Also, all the standard maps including hosts, mail aliases, netgroups, etc...are maintained ...
4
votes
5answers
711 views

Common user accounts between linux machines

I have a base system with a few (currently two) VMs on top of it, all running Ubuntu Server. I have to keep adding my user account on each system when I bring a new one up, as well as giving it sudo ...
4
votes
1answer
459 views

How do I create NIS groups with large userlists

I am trying to create a NIS group with a member list that exceeds 1024 characters. Now I can't do that because the database that NIS uses restricts the value part of the key/value pair to 1024 ...
4
votes
1answer
3k views

Disable nis login for a particular user on a particular machine

We have a nis server and a nis client in a domain. As part of the in-charge of a subdomain, I want to enable nis logins for only some users on a particular machine, and want to disable the rest of the ...
4
votes
0answers
244 views

NIS client doesn't see group names

I have added a user to libvirt (id = 504) group on NIS server. On the client when I do group <user>, I get <user> groups: cannot find name for group ID 504 What should I do to get my ...
3
votes
1answer
3k views

How do I replace an NIS master server?

I need to take down my current NIS master server because it is running on RHEL 4 which is too old for the auditors to approve now. I think I need to copy some files off the master over to a slave ...
3
votes
1answer
5k views

How can I change passwords on a Linux NIS master?

This seems like it should be simple, but if it is, I must be missing something. I have a Linux NIS master from which I would like to be able to change users' passwords (in cases of forgotten ...
3
votes
1answer
2k views

Enable NIS extensions (rfc2307) on Samba 4 AD after installation

I'm testing out our samba 4 migration process and when the initial forest/domain was created, it was created without using --use-rfc2307: sudo samba-tool domain provision \ --domain ...
3
votes
1answer
2k views

Delaying NIS & NFS startup till after network interface is fully ready on Fedora 17

I've recently set up a fedora 17 server for our network, and I've been having trouble getting the NIS service to work on startup. Here's some logs from the system: Aug 21 12:57:12 cairnwell ...
3
votes
2answers
1k views

Password rules for yppasswd

I have a NIS master-slave setup and I would like to improve the password rules/complexity for it. Seems like if I introduce new rules to the NIS Master they are applicable only from there. What I ...
3
votes
1answer
933 views

What NIS maps are needed for OSX 10.6 to authenticate?

What NIS maps are necessary for OSX 10.6 to authenticate? I have an ubuntu-sever sharing NIS, and from the OSX client, ypcat passwd, ypcat group and (as root) ypcat shadow.byname all work, and return ...
2
votes
1answer
370 views

Switch from NIS/NFS to LDAP/NFS/SMB?

I'm interested in moving from an NIS/NFS server (Ubuntu) to an LDAP/NFS/SMB on an Xserve. I've been able to get LDAP and the file sharing working, but now I'd like to actually import the existing user ...
2
votes
1answer
168 views

Why does NIS map error prevent postfix from resolving local alias?

Postfix quit sending me mail from an Ubuntu 10.04LTS server. I spent an hour to two checking /etc/aliases, running and re-running sudo newaliases and sudo postfix reload, web searches for my issue ...
2
votes
1answer
657 views

Mac OS X 10.5/6, authenticate against by NIS or LDAP when both servers have your username

We have an organization-wide LDAP server and a department-only NIS server. Many users have accounts with the same name on both servers. Is there any way to get Leopard/Snow Leopard machines to query ...
2
votes
1answer
362 views

Unix services on Windows Server 2008

Looking to remove a domain controller that is currently the NIS master for our identity management for unix service. Need to know how to migrate the master to a different Windows server. When you ...
2
votes
0answers
57 views

Root denied login if networking down (on NIS/YP environment)

My 70+ hosts network (mixed CentOS, Fedora) uses NIS/YP. If networking is working OK, then no major issues occur, normally a trouble-less operation. If connectivity is lost, either by a simple loose ...
2
votes
1answer
29 views

NIS - Proper Format for Multiple Hosts

I'm very new to working with NIS and have been tasked with reorganizing the files. Which is the proper delimiter that should be used for a NIS file with this format: username ...
2
votes
0answers
94 views

Group membership not transferred from server to client

I have a Suse Version 11.1.0.21 Server with home-partitions for every user and shared partitions for different groups. Groups and group rights (3775) are defined. When the group member is logged in at ...
1
vote
5answers
1k views

How to synchronize users, passwords, hosts, etc without NIS

I am administering a very small solaris 2.6 network with 4 boxes total. Is it possible to use scp or similar to replace NIS for synchronizing users, groups, hosts, etc? This network is only a ...
1
vote
4answers
203 views

Server-based homedirs and universal logon on a Linux network? (Other than with NFS+NIS?)

This question was kinda, sorta, already asked, but there's a security issue with the NFS+NIS setup that still bugs me: if you know somebody's username/uid, you can setup a *nix computer, create a user ...
1
vote
2answers
921 views

What is required for LDAP authentication to work?

I would like to have LDAP authentication on a webpage. On a CentOS server the .htaccess looks like this Order deny,allow Deny from All AuthName "Only members" AuthType Basic AuthBasicProvider ldap ...
1
vote
2answers
836 views

Integrate LDAP into NIS

I have the task to implement a LDAP service for the typical use cases: User authentication, storing more information on users, storing information on machines, etc. Currently, we have a working NIS ...
1
vote
1answer
46 views

Neglected services on old DC - how to move to new DC?

We have installed a new Server 2012. The new server: DC3 (192.168.0.3), has been promoted, and is now our main DC (includes : DNS, DHCP) Schema master DC3.domain Domain naming master ...
1
vote
1answer
539 views

NIS users suddenly can't login to SSH

I've recently added a new (client) server to my NIS. For a month or so this worked fine, but since today I suddenly can't login through SSH anymore. Some other services (e.g. IMAP) on the same server ...
1
vote
1answer
186 views

How to test that DNS from NIS is working?

In my /etc/nsswitch.conf have I set hosts: files nis dns With ypwhich ypcat hosts ypcat passwd can I verify that passwd and group are retrieved over NIS. Question How do I verify that DNS is ...
1
vote
1answer
418 views

NIS login: one user account multiple home directories possible?

I have a network of linux clients and servers that are used for numerical computations; and I'm using NIS for user authentication. After a successful login, every user lands in her / his home ...
1
vote
1answer
3k views

How can I tell which clients are connecting to a NIS/ypserv master server?

I don't have much experience working with NIS at all, as I came from an LDAP environment. I have a project to move a bunch of clients within a NIS domain to point at a new NIS master server. There's ...
1
vote
1answer
227 views

Basic NIS questions

I'm a software developer who finds himself the SA stuckee when one SA went on vacation right after the other one quit. We have a network of redhat/solaris machines with a solaris NIS server. I want to ...
1
vote
2answers
4k views

command for list users in linux system

How can i list all the linux users when the ldap autentication is cofigured? I remember that there are one command to list the /etc/passwd files and the ldap users.
1
vote
1answer
2k views

Can I use netgroup at an NIS Client (Redhat) to restrict access to it?

Our company has a central NIS configuration that we are using to access our teams servers (Redhat)... The current configuration allows all valid NIS authenticated users to connect to our servers. We ...
1
vote
1answer
2k views

How to autostart `ypbind` on Ubuntu 14.04

It seems I need to use sysv-rc-conf to manage service startup/shutdown, but no scripts were added to /etc/init.d/ when I installed NIS. I would expect to either have /etc/init.d/nis or ...
1
vote
2answers
836 views

One of my NIS users can't login - why?

I've got an old Solaris 8 server as a client in a NIS domain. All users can login just fine except for one (user 'oracle'). It used to work but late last year "something" changed (I wasn't here at the ...
1
vote
1answer
802 views

Passwordless ssh with NFS+NIS

I'm playing around with a cluster (with torque+open-mpi). I have a master node and compute nodes. Master submit jobs to computes nodes. To do it I use NIS+NFS in order to unify UID's and home ...
1
vote
1answer
561 views

I can't logon to the mail server using an NIS user account

Below is my configuration # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 3.0.0-17-server x86_64 Ubuntu 11.10 auth_mechanisms = plain login mail_location = maildir:/nfs/users/%u/Maildir passdb { ...
1
vote
2answers
478 views

How to add root user in nis passwd file?

One of the sys admins accidentally moved aside /etc/passwd... doh! Restoring the file from backup doesn't work... it errors out because root user does not exist. I've got NIS running at this site and ...
1
vote
1answer
442 views

Force NIS to use TCP

Is it possible to force NIS to connect using TCP instead of UDP? I've scoured the documentation for both ypserv (to force listening on TCP only) and ypbind (to connect over TCP only) but found ...
1
vote
1answer
906 views

Sun Power Button Won't Shut Down System

Background: We are running NIS and have NFS mounts from a Solaris 10 workstation to a Solaris 8 server. If the workstation loses its network connection for some reason, when I look at the ...
1
vote
4answers
448 views

How to create a Linux Server that inherits authentication from main server?

Can I create another server that uses master server's /etc/passwd to authenticate it's users, and if I share users' homes then they can do everything they want within their home directories without ...
1
vote
0answers
12 views

NIS not respecting files first in nsswitch.conf

Okay, first off, I know NIS is a turd, but it's what we've got until we do a major migration next year. Today we had a NIS server outage which predictably prevents user logins. What surprised me was ...
1
vote
0answers
71 views

Linux: What could be the reason for random fails in updating passwd.byuid by running yppasswd?

In order to allow NOC users in my company to manage users through NIS I've created the following script: #!/bin/bash # This script will simplicate NIS user management. # You will not be able to ...
1
vote
0answers
181 views

can't change NIS account password from Centos-7 client “NIS server Centos-6”

I'm trying to change password for a NIS account from a Centos-7.0.1406 client and the server is Centos-6.6 it seems that passwd command don't ask me neither to change password nor ask me for old ...
1
vote
0answers
56 views

Strange glitch with NIS

Good day. One of the network users with the NIS account (yp and automount) has some problems: after editing network service configufation file (/etc/sysconfig/network) and rebooting ...
1
vote
0answers
64 views

Automount directories only on certain clients via NIS and NFS

Is it possible to serve certain files via NIS only to a group of clients and not to all of them? It's probably a very easy task but I'm searching for a while now and don't seem to find an answer. I'm ...
1
vote
1answer
2k views

Trying to configure NIS on a centos client and getting error Domain not bound

I'm trying to set a host to use NIS. I've instlled ypbind and yp-tools. edited /etc/yp.conf: domain mydomain.local server hostname then edited: /etc/sysconfig/network and added: ...
1
vote
0answers
215 views

ssh login attempts fail randomly - but work otherwise for same user

I'm having strange ssh login issues, where the login for a user does work in general, but sometimes it doesn't. here's a failed login attempt: Mar 28 14:49:55 hostname sshd[32247]: Invalid user ...
1
vote
1answer
191 views

Need to put two NIS servers in yp.conf file

How do I configure 2 servers in yp.conf I tried : domain domain.com server server1 server2 but it seems to take the first one Tried: domain domain.com server server1 domain domain.com server ...
1
vote
0answers
156 views

NIS user/group ID resolution fails for one NFS volume but succeeds for another

Network setup: (1) NIS server (nisserver), (2) file server (fserver), (3) cluster head server (queuemaster) (4) cluster compute nodes (node1,node2,...) (gateway=queuemaster) fserver is a NIS ...