Questions tagged [nis]
The nis tag has no usage guidance.
56
questions
1
vote
0
answers
119
views
What's the sharenfs syntax for using a netgroup with ZFS on Linux?
I'm trying to set up an NFS share with a new ZFS dataset (pool/data) and trying to share using an existing netgroup (foogroup). Running Ubuntu 20.04 on both the NFS server side and client side, it ...
1
vote
1
answer
66
views
Some users (groups) cannot be deleted when using NIS to manage users in CentOS 7.5 cluster
The cluster master and computing nodes are using CentOS Linux release 7.5.1804 (Core). File /etc/nsswitch.conf contains
passwd: files nis sss
shadow: files nis sss
group: files nis sss
The output of ...
0
votes
0
answers
57
views
Password Aging: Script
We have to implement Password Aging in our environment. I know that it is very much possible using chage and shadow file.
But since our Passwords are handeled by NIS, we can not use chage method in ...
1
vote
0
answers
139
views
how to list all local users
I have a NIS client machine which has many users. Some of them were local (created on that machine), some of them were NIS users (created on NIS server, ever logged in and created home directories). ...
1
vote
2
answers
1k
views
Why is PAM broken after installing nis?
I'm a Software Engineer with some system admin experience currently trying to setup some Linux infrastructure at a new workplace which previously only had Windows infrastucture. For Political reasons ...
0
votes
1
answer
411
views
bash script to eference value of $GECOS from /etc/passwd with awk or sed to extract first and last name
Red Hat has a sample script to migrate users from NIS to FreeIPA. nis-user.sh looks like this:
#!/bin/sh
# $1 is the NIS domain, $2 is the NIS master server
ypcat -d $1 -h $2 passwd > /dev/shm/nis-...
0
votes
1
answer
365
views
changing ownership on NFS shared ZFS storage - quota exceeded
I have very bizarre problem. I have CentOS server 6.10 and ZFS storage.
Now storage is configured long time ago by someone, and I found out that for certain user there is a quota set.
when I check on ...
2
votes
1
answer
1k
views
NIS users sessions are incomplete after upgrade to Debian 10
I have recently upgraded the workstations from Debian 9 to Debian 10. With the
old version people have been able to mount USB drives and play and record sound
(for video conferences). After the update ...
3
votes
1
answer
999
views
Why is +::0:0::: not supposed to be found in /etc/passwd?
I was reading the BSI Security Guidelines (GERMAN), on NIS and it explicitly mentioned that one should prevent the entry +::0:0::: from occuring in the /etc/passwd file of the NIS server.
From my ...
3
votes
1
answer
1k
views
When did user accounts using UIDs above 1000 become normal? And why?
We have a really old NIS domain which is mapping some user accounts to UIDs less than 1000. I'm wondering
when did using UIDs greater than or equal to 1000 for human users become 'standard',
why did ...
0
votes
0
answers
1k
views
NIS user can not connect to NIS server
i have run an NIS service on Centos7 on a virtual machine. also i installed another Centos7 virtual machine as client. so i want to connect from my client vm to server vm.
at client vm 'systemctl ...
1
vote
0
answers
552
views
ypcat passwd not able to list if the user has 3 digit user id
I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running.
If my /etc/passwd is e.g.:
...
3
votes
0
answers
9k
views
passwd fails with "Authentication token manipulation error" for NIS
On centos 7 I have the following pam config:
cat /etc/pam.d/passwd
#%PAM-1.0
auth include system-auth
account include system-auth
password substack system-auth
-password optional ...
1
vote
0
answers
2k
views
NIS client doesn't automount the home folder
I am setting up a computing cluster, and have been tasked with setting up a NIS server and client environment. So far I have been successful on every front except for the NIS clients are not mounting ...
1
vote
2
answers
403
views
What does a group with no group id means?
As part of my assignment I was asked to find a group called + and to write in brief what I think of it. This group in /etc/group
is shown as +:x:: which means it has no Gid and No users. But what ...
1
vote
1
answer
4k
views
ypcat passwd does not list complete list of users in linux
We have new environment set up which is a secure chamber, meaning only authorised users can login in and use NX software. The weird issue I’m looking at is that when I do ypcat passwd, it gives only a ...
0
votes
1
answer
233
views
Where to find remote user account configuration (yppasswd)
I am now entrusted with administrating some 40 computers with Debian 8. The computer where the configuration files (with Debian FAI) were stored on had a HDD defect, there was no backup. Therefore we ...
1
vote
1
answer
2k
views
rpcbind.service won't start
I am trying to configure an NIS server on my CentOS 7 VM. It is a fresh VM (VMware Workstation 12) and all I did was run the following commands
yum install ypbind ypserv rpcbind
/usr/lib64/yp/ypinit -...
1
vote
1
answer
4k
views
How to disable all firewall rules and SElinux if runs on CentOS7
I try to connect a NIS server on CentOS 7.3 and a NIS client on raspbian 8.0 together.
My problem is that raspbian does not want to bind the server.
journalctl server the following entry:
...
0
votes
0
answers
471
views
nis authentication
We have a working NIS setup installed on Linux SUSE 10.
We all aware that NIS is weak in terms of encrypting the user passwords. E.g. ypcat passwd command would show all the password details to a ...
1
vote
1
answer
3k
views
Can't change password without knowing current password (even as root)
So I'm using OpenSuse, and have NIS set up with 2 clients (one opensuse and one centos). When trying to change a user password, you must include the current password. Even as root, on the nis server, ...
0
votes
1
answer
1k
views
How to display `netgroups` in a presentable way (and why `tr` doesn't work)?
I tried to use ypcat netgroups | tr '\n' '\n\n\n\n' | head to put more lines between each paragraph, but it doesn't work. Why doesn't it work and how can I display netgroups in a more user-friendly ...
1
vote
1
answer
501
views
Error while logging in to a NIS server using the desktop GUI
When trying to login to a user account on an openSUSE based NIS server on a local network I receive the error message Cannot enter home directory. Using /.
The following is the console error message ...
2
votes
1
answer
1k
views
How to restrict su from root to nis clients
We are using NIS services for users login for Unix accounts. We have test machines where users themselves install OS and they get root access. Users are using su from root account to NIS user accounts ...
0
votes
1
answer
63
views
Can sendmail be made to refuse connections if NIS or DNS are down?
We run a sendmail 8.14 server for a domain which has its user database managed in NIS. My nsswitch.conf is pretty vanilla:
passwd: compat
group: compat
shadow: compat
hosts: ...
1
vote
1
answer
3k
views
How to change password using script
#OUTFILE=out.xml
prefix='EDSAD150'
password="asdf1234"
pass=$(perl -e 'print crypt($ARGV[0], "asdf1234")' $password)
for i in {01..02};do
usname=$prefix""$i
yes $pass | yppasswd $usname
...
1
vote
2
answers
166
views
How to assure that NIS home directories are private?
I am wondering what options are for using centralized authentication and access to user home directories from any Linux machine while keeping the privacy of the home directories.
Now I am facing a ...
0
votes
0
answers
362
views
Error while installing nis (3.17-33) on debian 8
I am encountering the following error
root@periferralvm1:~# apt-get install portmap nis
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting '...
1
vote
0
answers
764
views
NIS client is not able to change password using yppasswd?
NIS Server - OpenSuse 12.1
NIS Clients - OpenSuse 13.2
At NIS Client:
[email protected]:~> yppasswd
yppasswd is deprecated, use /usr/bin/passwd instead
Changing password for nisuser.
Old ...
1
vote
0
answers
2k
views
Ubuntu 14.04.2 LTS: for NIS users, SSH works but console login and sudo fail
I set up a fresh Ubuntu 14.04 LTS VM on VirtualBox and did an upgrade, so now I'm sitting at 14.04.2. Our office environment is NIS+NFS. I set up autofs and NIS, and confirmed that I can log in as a ...
1
vote
1
answer
75
views
How can I run a command on all clients at a time from the server that all are connected to NIS & NFS server?
Here is an overview of my NIS and NFS configured network.
1 NIS server, 1 NFS server, 50 NIS & NFS clients.
OpenSUSE 13.2
I need to run a command on all clients from a server machine.
Command:...
1
vote
1
answer
1k
views
SSH key works on NIS server, fails on NIS client
I am trying to set up public key access to a couple of machines that I have a user account on.
What I did:
I used ssh-keygen to generate a key pair (without a passphrase) on my personal computer ...
1
vote
0
answers
310
views
Secondary groups not getting set on login
I have two servers, one with SLES9 SP4 and one with SLES11 SP1. SLES9 has bash 2.05b.0(1) and SLES11 has bash 3.2.51(1).
Both servers are configured to use the same NIS master where they get both ...
0
votes
1
answer
639
views
How to setup the quota for NIS user
I have 3 VM's and configured NIS server one VM, user account created for client access also done. NIS client configured remaining two VM's. I am able to login through what I created username in NIS ...
3
votes
2
answers
609
views
Strange firefox bugs following migration of home areas to NAS drive
We run a small linux cluster of 20 hosts running rhel(5and6). Each host has a native user nm with the home area mounted on the machine /export/home/nm. We use NIS/NFS for individual user accounts. ...
2
votes
1
answer
3k
views
NIS and /etc/passwd
Shadow passwords are to be avoided in a NIS server, as suggested in this guide at paragraph 7.6.
So: in a NIS server (a Unix or Unix-like system), should all the users be migrated to /etc/passwd from ...
1
vote
1
answer
2k
views
Can't Login to Debian 7.7 with Kerberos/NIS user
I have a Debian 7.7 system I am trying to configure to use Kerberos and NIS, both served from an Active Directory server.
I have kerberos set up such that I can kinit a set of credentials from the AD ...
0
votes
0
answers
619
views
NIS Accounts Can't Login to NIS Server, work on NIS Clients - ICEauthority
I have setup a NIS Master Server and client. On the server, I created a test account. This account can login without issue to the NIS client, but when I attempt to login to the NIS Master Server with ...
5
votes
1
answer
6k
views
/etc/init.d/nis missing on Ubuntu
I'm trying to setup NIS on a machine. All instructions always expect /etc/init/nis to exist as at the end of configuration one is expected to restart the service using that. For me it doesn't exist. I ...
2
votes
1
answer
3k
views
How Do I Set Up Multiple NIS Servers For CentOS 6 Clients?
What is the correct /etc/yp.conf format for indicating a NIS domain has more than one NIS server available to it?
Also, how does the client decide to look for another server?
I've tried this:
...
1
vote
1
answer
3k
views
Samba 3.6.12 and NIS
We were able to use Samba and NIS on Samba 3.0.8 on Solaris 10 U5. When we update system to Solaris 10 U11, samba version became 3.6.12. And we are unable to authenticate like old style.
I did not ...
10
votes
1
answer
6k
views
Whta does '\+::::::/bin/bash' in /etc/passwd mean?
Found the line \+::::::/bin/bash in my /etc/passwd, which looks strange to me. What does that mean? Has my computer been hacked?
1
vote
1
answer
265
views
How to recover from this NIS & NFS client error?
I have a centralized NIS and NFS server on my server. I use this server to control 100 Linux clients, /$home/ directory and authentication are served by the centralized server. The other day in one of ...
2
votes
1
answer
4k
views
With NIS users, how to find out which users are currently logged in?
I'm using a NIS server to control 100 clients. I'm using NIS for centralized authentication and NFS to share the home directory. The main problem I'm facing is that I cannot find out which users are ...
3
votes
0
answers
2k
views
NIS users can't use yppasswd on client machines
I'm administrating a system where users authenticate via NIS and things went wrong when a user tried to use yppasswd to change her password. She got the error:
yppasswd: yppasswdd not running on NIS ...
1
vote
0
answers
123
views
Failure to connect Debian NIS client to OpenSuse 12.1 server
I'm trying to connect a Debian 7.0 client to a OpenSuse 12.1 server. The nisdomainname is correct, the /etc/group, /etc/passwd and /etc/shadown all have the +::: lines, ypbind connects, but the ...
1
vote
2
answers
4k
views
wheezy: nis/autofs doesn't work
I have a few computers with debian lenny on them.
One of them has a nis server: 193.167.1.75
I can automount my home directory when I log in:
>ssh 193.167.1.80 -l myuser
>pwd
/home/nis/myuser
...
0
votes
2
answers
4k
views
Setting up a restricted NIS server
I'm currently trying to configure an NIS server with restricted access such that the passwd and group maps are exported to "trusted" hosts only. To this end, I have tried creating a netgroup (in the ...
1
vote
1
answer
3k
views
Rehashing /etc/shadow. Can I force NIS users to change password?
I'm currently migrating a CentOS environment to a Debian one. The users log in over the network using NIS. I was hoping to copy /etc/shadow from my old server to my new one so that we can offer ...
1
vote
1
answer
995
views
NIS+ Solaris 10, Master Server Setup
this is my first time with NIS+ Naming Service.
I want to configure my host to be a master root server using this script
/usr/lib/nis/nisserver -r -d doc.com.
And I got this error:
> ******** ...