08-26-2011
AFAIK, pam_limits doesn't do NIS... you could certainly hack the code and make it do NIS groups though.
If it were me... if this is for shell... I'd put a small script into the /etc/profile (or whatever is appropriate) and set the limits there by scripting and checking netgroup membership. But that's just me...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi@all,
I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file.
I work with AIX 4.3.3.0 and Maintance Level 5.
Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies
2. Linux
Hello!
How do make the limits.conf parameters work for a normal user. Ive changed
both the hard and soft parameter for the specific user. It used to be 4096 and i changed it to 16384. But when i use the ulimit -n, all i got is permissen denied.
Witch i can understand. But my question is? how... (1 Reply)
Discussion started by: dozy
1 Replies
3. UNIX for Dummies Questions & Answers
I have line in this file that says:
username - maxlogins 1
and user can login 2 times instad of one.
does enybody know why? and how can I fix that? (2 Replies)
Discussion started by: shooroop
2 Replies
4. UNIX for Advanced & Expert Users
HI,
To restrict the number of files and number of processes used the user we use the following configuration in the file /etc/security/limits.conf.
oracle soft nofile 65572
oracle hard nofile 65572
oracle soft noproc 16384
oracle soft noproc 16384
My question is what do the 'soft' and... (1 Reply)
Discussion started by: praveen_b744
1 Replies
5. Solaris
Hi,
How can we set per user core file size, etc in solaris, i.e. I want solaris counterpart/equivalent of linux /etc/security/limits.conf.
TIA (0 Replies)
Discussion started by: slash_blog
0 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
Is there a way for me to know the NIS group and Netgroup my UNIX account? Thank you. (0 Replies)
Discussion started by: risk_sly
0 Replies
7. Red Hat
Hello all,
I'm running Oracle 10.2 on RHEL5. Current value of ulimit -n is set to a low value of 1024. I need to increase it to 65536 using the following procedure.
cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard... (3 Replies)
Discussion started by: luft
3 Replies
8. Red Hat
i want to set limits in /etc/security/limits.conf.My os is rhel 5.2.
It was giving continuous messages in in /var/log/secure like :
continuously.
I have changed values of priority and nice to "0" from unlimited and messages are not comming. But i want to know what is the ideal/maximum... (3 Replies)
Discussion started by: pankajd
3 Replies
9. UNIX for Advanced & Expert Users
I'm considering the merits of slightly redefining the "domain" field in a NIS netgroup (the third field in the triple) to make it more useful, in a new Internet Draft that I am currently developing. Does anyone out there who uses NIS actually make use of the "domain" field? The places I've worked... (8 Replies)
Discussion started by: cambridge
8 Replies
10. UNIX for Dummies Questions & Answers
OS version : RHEL 6.5
Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server
appusr soft nproc 2047
appusr hard nproc 16384
What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ?
I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies
LEARN ABOUT CENTOS
netgroup
NETGROUP(5) NIS Reference Manual NETGROUP(5)
NAME
netgroup - specify network groups
DESCRIPTION
The netgroup file defines "netgroups", which are sets of (host, user, domain) tuples, used for permission checking when doing remote
mounts,remote logins and remote shells.
Each line in the file consists of a netgroup name followed by a by a list of members, where a member is either another netgroup name, or a
triple:
(host, user, domain)
where the host, user, and domain are character strings for the corresponding components. Any of the three fields can be empty, in which
case it specifies a "wildcard", or may consist of the string "-" to specify "no valid value". The domain field must either be the local
domain name or empty for the netgroup entry to be used. This field does not limit the netgroup or provide security. The domain field refers
to the domain in which the triple is valid, not the domain containing the the trusted host.
A gateway machine should be listed under all possible hostnames by which it may be recognized:
gateway (server, , ) (server-sn, , ) (server-bb, , )
The getnetgrent(3), function should normally be used to access the netgroup database.
FILES
/etc/netgroup
SEE ALSO
getnetgrent(3), exports(5), makedbm(8), ypserv(8)
WARNINGS
The triple (,,domain) allows all users and machines trusted access, and has the same effect as the triple (,,). Use the host and user
fields of the triple to restrict the access correctly to a specific set of members.
AUTHOR
Thorsten Kukuk <kukuk@thkukuk.de>
NIS Reference Manual 04/06/2006 NETGROUP(5)