xenago / libnss_shim Goto Github PK
View Code? Open in Web Editor NEWPerform Name Service Switch (NSS) lookups with custom commands
License: GNU General Public License v3.0
Perform Name Service Switch (NSS) lookups with custom commands
License: GNU General Public License v3.0
When implementing get_entry_by_gid
do we need to return a value for preexisting gid in /etc/group
file? Also, same question regarding get_entry_by_name
for group
and passwd
.
Does libnss_shim
know to only call those methods if it can't find those ids and gids in the /etc/group
and /etc/passwd
files?
amd64 rpm v1.2 install fails on Amazon linux 2 ec2 instance. However v1.1 install works correctly. Error for installing v1.2 is shown below.
[root@ip-1 v1.2]# curl -sLo libnss_shim.rpm https://github.com/xenago/libnss_shim/releases/download/1.2.0/libnss_shim-1.2.0-1_x86_64.rpm
[root@ip-1 v1.2]# sudo rpm -Uv ./libnss_shim.rpm
error: open of Not failed: No such file or directory
error: open of Found failed: No such file or directory
Hi, thank you for creating this package. I would like to set this package up on an Amazon Linux 2. Could you provide support for that OS?
Thank you for your time
Hi,
Thanks so much for the quick turn around time on support for rhel7. Would you be able to support arm64 as well? I'm trying to get libnss_shim
working with AL2 arm64 as well.
https://aws.amazon.com/marketplace/pp/prodview-uvnbekaahdaws
Thanks,
Tim
Hi,
I installed libnss_shim
on a linux server and I set up the config to call a Python script. The python script looks like this
print("fakeuser-2:x:1004:1004::/home/fakeuser-2:/bin/bash")
When I run getent passwd
I see fakeuser-2
is printed as shown below
...
testuser-1:x:1002:1002::/home/testuser-1:/bin/bash
testuser-2:x:1003:1003::/home/testuser-2:/bin/bash
fakeuser-2:x:1004:1004::/home/fakeuser-2:/bin/bash
However, when I run su fakeuser-2
, I get the error su: user fakeuser-2 does not exist
. This does not happen if I edit /etc/passwd
manually. I would like to add fakeuser-2
dynamically and not have to edit /etc/passwd
directly. Do you know how I can do that?
-Tim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.