Questions tagged [nis]
56 questions
10
votes
1 answer
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?
Funkwecker
- 203
- 2
- 6
6
votes
4 answers
nis and autofs manual restart after a reboot
I have a minor inconvenience involving NIS and autofs. I pull my home directory from an NFS server. It all works fine, except that I have to manually restart nis and autofs after each reboot. So after the system starts up, I need to switch to a…
Wojtek
- 2,290
- 2
- 17
- 24
6
votes
2 answers
Using NIS without NFS
I'm configuring several computers in a lab to operate with the same login credentials shared between the computers, but without sharing the home directories. I'm considering using NIS for sharing the login credentials. How can I configure NIS to…
Ken Bloom
- 400
- 1
- 9
5
votes
3 answers
Group information reported wrong for a specific user
I have a problem on a server I manage. An account (specifically, my account) does not seem to have the correct groups. I think the problem is most easily demonstrated by looking at the following command sequence:
Last login: sometime from…
dtech
- 987
- 2
- 9
- 14
5
votes
1 answer
/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 did try an apt remove nis; apt install nis, it…
Kashyap
- 183
- 1
- 6
4
votes
4 answers
NIS: How to allow access to both local and remote users' home directories?
We have a NIS server with shared users' home directories in '/home'.
We're used to mounting the server's '/home' using '/home' as the mount point on each NIS client.
However, if we do this with a machine that has existing local users, their home…
Ian Mackinnon
- 660
- 1
- 7
- 14
3
votes
0 answers
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 master host ("localhost").
Based on suggestions…
Joseph R.
- 38,849
- 7
- 107
- 143
3
votes
1 answer
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 research I have garnered, that the + would import…
Jayrassic
- 35
- 7
3
votes
0 answers
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 pam_gnome_keyring.so use_authtok
password …
Goswin von Brederlow
- 150
- 1
- 7
3
votes
2 answers
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. Recently we purchased a new NAS server (host name…
moadeep
- 174
- 3
- 5
- 16
2
votes
1 answer
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 neither of it works.
Remote user accounts
There…
Martin Ueding
- 2,682
- 3
- 31
- 45
2
votes
1 answer
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 it become a convention? Are there any practical…
Samuel Harmer
- 285
- 3
- 10
2
votes
1 answer
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 without passwords they are able to enter other…
sagar
- 259
- 1
- 3
- 7
2
votes
1 answer
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 /etc/shadow?
And if not, how should one implement…
BowPark
- 4,811
- 12
- 47
- 74
2
votes
1 answer
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:
domain NIS server nis1
domain NIS server nis2
...but…
David Mackintosh
- 961
- 2
- 10
- 17