Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
125 views

Add mounted volume from non-root user to docker container

I have a Linux VM provided to me on which network drives has already been mounted, to access it there is an extra non-root user "user1". The id of this user is: uid=4040 (user1) gid=110 (lxd)...
Solaire's user avatar
  • 31
0 votes
0 answers
718 views

Rpcbind error in Docker: cannot run multiple rpcbind services

I run two containers on my host (e.g, A and B). On container A, the rpcbind service start normally. However, when I start rpcbind service on container B, there are errors listed below: # service ...
Wind's user avatar
  • 1
0 votes
1 answer
70 views

Counting occurrence of diagnosis code across multiple columns in large R dataset

I'm using two years of NIS data (already combined) to search for a diagnosis code across all of the DX columns. The columns start at I10_DX1 to I10_DX40 (which are column #18-57). I want to create a ...
user44441111's user avatar
2 votes
1 answer
2k views

How to run docker with current host user, when users are managed with Linux NIS (Network Information Service)

I want to run the docker with my host account, Normally I would do it with: #!/bin/bash user_home="${HOME:-"$(eval echo "~$(whoami)")"}" docker run -it --rm \ --env &...
brane's user avatar
  • 665
-1 votes
1 answer
61 views

Script to find and grep the group

I am struggling to write a bash script or python script to find a string from a file. For example, I need to search for usrname4 and if it found then I need fetch its group. In this case, it is ...
N V M's user avatar
  • 3
0 votes
1 answer
405 views

Allow group shared from nis to use sudo

I trying to enable a group call acctadm shared from NIS to use sudo. Result of ypcat gropu looked like:acctadm:*:1005:god1,god2 After trying add %acctadm ALL=(ALL) ALL, +acctadm ALL=(ALL) ALL by ...
CodePurin's user avatar
  • 193
0 votes
1 answer
835 views

How to create automount map with LDAP

I need to create an automount map for a particular location in our environment with the ldap as we have "ldap+nis" integrated setup. I don not know much about the ldap+NIS hence require your help to ...
user avatar
1 vote
0 answers
125 views

Authen::PAM login doesn't work after Vintela flush

I have a perl script that gets the username and password from an external process and then does user authentication using Vintela. Everything works perfectly until someone forces Vintela to flush it's ...
sid's user avatar
  • 95
1 vote
0 answers
218 views

How to fix NIS with error code (1) (sudo apt-get purge nis)

When I first time installed NIS, it came out with a "E: Sub-process /usr/bin/dpkg returned an error code (1)" problem. So I removed NIS with "sudo rm -rf /var/lib/dpkg/info/nis.*" command. then ...
Lin3624's user avatar
  • 19
1 vote
2 answers
135 views

Network Information System (NIS) with Openstack Keystone

Is there any way through which Network Information System (NIS) could be integrated with Openstack Keystone? Please let me know if you know any online resource.
openstk's user avatar
  • 137
1 vote
0 answers
465 views

Ubuntu 14.04 NIS Client connecting to a OpenSuse 13.1 NIS Server

I've been trying this for the whole day, searching the internet but I just can not find the solution. We're running a small server using OpenSuse 13.1 (NIS & NFS) at our office and it works ...
miorli's user avatar
  • 53
1 vote
2 answers
2k views

How to change or set the group id for a group in windows active directory through command line?

How do I change the gidNumber of a existing group from Command line? The attribute is called gidNumber.
sfbayarea's user avatar
-1 votes
1 answer
28 views

suggestion for receiving tcp settings for a specific service

I have some price subscriptions that require clients to know which tcp server and port to use to get them. For example, for MSFT one might need to connect to 192.168.5.6:4500. I have been ...
edwinc's user avatar
  • 1,676
3 votes
1 answer
3k views

How to paste many lines to a file using a bash script?

I'm writing a script which will automatically configure a NIS client with the correct settings. I'm trying to set the /etc/nsswitch.conf file and I'd like to overwrite whatever is already there with ...
Itai Ganot's user avatar
  • 6,275
-2 votes
1 answer
1k views

port mapper failure in NIS configuaration

I am working on fedora 17, i am trying to configure NIS server, I installed ypser, rpcbind, ypbind packages by 'yum' command, everything is fine, but at the last step, when hostname has to be store in ...
vinita's user avatar
  • 95
1 vote
1 answer
324 views

Private nsswitch or nscd per process

I want a short term fix for some NIS performance problems on my network. I don't have root access, and nscd has all caching turned off. I'd like to provide local nscd-like capability to allow ...
Alex Brown's user avatar
  • 42.8k
1 vote
1 answer
2k views

local and NIS user with the same name - chown

I have a linux with a configured NIS domain, and both a local user and a NIS user with the name johndoe (but different UIDs). When applying 'chown johndoe:johndoegrp somefile.txt' - which john doe ...
Nati's user avatar
  • 1,032
1 vote
1 answer
2k views

how to give NIS users default ubuntu (desktop user) group permissions [closed]

My central file server is running Redhat and I've configured this system to export shares via NFS and I manage user accounts with NIS. I've setup a couple of Ubuntu clients and realized, that the NIS ...
memyself's user avatar
  • 12.6k
3 votes
5 answers
19k views

Using Awk to remove whitespace

I have a file in the form of: Firstname LastName; 123-4567; Job Title Firstname LastName; 123-4567; Job Title Firstname LastName; 123-4567; Job Title ... I am trying to use awk to ...
RJ DeVries's user avatar
2 votes
3 answers
5k views

How do I query msSFU30MaxUidNumber attribute with Powershell?

Does anyone know of a way to query this UNIX attribute msSFU30MaxUidNumber in Active Directory with Powershell? I'm working on a script that will assign Unix attribute to users as needed. I also have ...
mwalkerii's user avatar
3 votes
2 answers
4k views

Migration of NIS yppasswd hashes from crypt to md5

Imagine a NIS user database /var/yp/input-files/passwd consisting of old crypt DES hashes. The aim is to migrate this database to md5 or sha hashes. When changing a password using yppasswd, it is ...
Speckinius Flecksis's user avatar
5 votes
1 answer
3k views

Authenticating Gitweb with Gitosis without LDAP Auth?

I found your article using Apache Auth with gitweb, gitosis. I was wondering if there was a way to do this if I wasn't using LDAP for authentication. We currently have a very large NIS domain which ...
Chris's user avatar
  • 51
1 vote
1 answer
2k views

ssh with compat nis on solaris 10

i have a working solaris 10 server with ssh and NIS using the following configuration: # /etc/nsswitch.conf passwd: files nis group: files nis and # /etc/ssh/sshd_config Protocol 2 Port ...
Benoît's user avatar
  • 3,523
3 votes
5 answers
14k views

"ypcat" and "ypmatch username passwd" don't agree after change on server

I'm trying to use NIS for authentication on a st of machines. I had to change one of the user ID numbers for a user account on the NIS server (I changed the userid for username from 500 to 509 to ...
Lorin Hochstein's user avatar