Questions tagged [nis]

92 questions
1
vote
2 answers

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 serving the passwd/group/shadow files and I tried…
Caroline
  • 13
  • 2
1
vote
1 answer

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 create local accounts for an sftp server on the…
John Gordon
  • 113
  • 3
1
vote
1 answer

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 nothing (only an option to specify the listening port).…
Brian
  • 796
  • 1
  • 6
  • 15
1
vote
1 answer

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 cannot update or change something on the NIS…
sdmythos_gr
  • 195
  • 2
  • 8
1
vote
1 answer

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 workstation's console I see repeated messages of the…
user36680
  • 13
  • 4
1
vote
4 answers

ssh via public key authentication for users administered with NIS

I'm experimenting with using NIS for centralizing the user management for a network of approx 20 servers. I've got an NIS client and server working, and can ssh to the client machine and successfully log in, but only using a password. I'd like to be…
Paul Dixon
  • 1,516
  • 3
  • 23
  • 37
1
vote
1 answer

How to fix long delays and "Callback timed out" errors with NIS master and slave set up?

I have an NIS master and slave set up, and whenever I do something that requires synchronization between the two (such as adding a new user), there are long delays that eventually end in a "Callback timed out" message. How do I fix that? This is…
krupan
  • 141
  • 4
1
vote
2 answers

Stop ypbind from automatically running

I want my linux client to stop using nis services. Can someone suggest how to do it. Yes, I've already searched on the web, and also on serverfault. As I've mentioned a couple of times on su/so/sf, the search facility is almost half as bad the…
0fnt
  • 274
  • 5
  • 12
1
vote
4 answers

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 locally with the same name/uid, and presto, you…
JCCyC
  • 680
  • 3
  • 13
  • 24
1
vote
5 answers

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 small part of my job and I don't want to spend too…
joshxdr
  • 257
  • 3
  • 15
0
votes
1 answer

Unable to open Firefox and some other applications after switching to new NIS and NFS servers

We have just upgraded two servers providing a number of services to our network including NFS and NIS. User authentication is done by one server (serverA) and home directories and a number of shared folders are provided by an NFS share from another…
Carl
  • 1
  • 4
0
votes
0 answers

usb stick "not authorized to perform"

Hello (sorry for my poor english). I have a fresh install of desktop clients linux mint 19.2 with a NIS authentication. Local users can plug usb-stick and it automount without problem. On the other hand, NIS users get this message: "Not authorized…
bxdfr
  • 1
  • 1
0
votes
1 answer

Seemingly acceptable iptables rule blocking NIS (ypbind) from operating

I am not an iptables expert. I have a use case to block all outgoing traffic that does not destined for either 10.0.0.0/8 or 167.114.0.0/16. I have two NIS servers (10.57.132.11, 10.57.132.40). I generated the below iptables ruleset which I…
jackhamm
  • 141
  • 8
0
votes
2 answers

puppet nis user management

I started using puppet for managing our RHEL servers. At this point I try to setup the user management. We are running a NIS environment on our campus, so until now I added the line +testuser::::: to the /etc/passwd file which then received the user…
fetch101
  • 88
  • 6
0
votes
1 answer

Create alias for UNIX username in LDAP for DB2

I want to use LDAP data for the authentication process in DB2. I have already configured DB2 via PAM to retrieve the information of the NIS server that is in the ActiveDirectory. It works perfect with usernames that have 8 characters or less. I…
AngocA
  • 111
  • 5