24 questions
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)...
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 ...
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 ...
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 &...
-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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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.
-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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...