I am trying to set a ulimit max in the /etc/security/limits.conf against a NIS netgroup (which contains a whole bunch of users) instead of a local user or group.
so I have a NIS netgroup called +@myusers , none of whose users are defined locally on the box. I want to ensure that this setting is applied when they log onto the box, but I cant seem to get it working
It works fine against a local group (defined in /etc/group)
but if i try to get it to resolve against a NIS netgroup like this
or
The users continue to get given the default ulimit value (1024) for the 'nofile' configurable.
I cant see anything that says explicitly that NIS netgroups are not supported but likewise cant see anything to tell me how to get it working
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)
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)
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)
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)
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)
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)
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)
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)
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 FREEBSD
revnetgroup
REVNETGROUP(8) BSD System Manager's Manual REVNETGROUP(8)NAME
revnetgroup -- generate reverse netgroup data
SYNOPSIS
revnetgroup -u | -h [-f netgroup_file]
DESCRIPTION
The revnetgroup utility processes the contents of a file in netgroup(5) format into what is called reverse netgroup form. That is, where the
original file shows netgroup memberships in terms of which members reside in a particular group, the reverse netgroup format specifies what
groups are associated with a particular member. This information is used to generate the netgroup.byuser and netgroup.byhost NIS maps.
These reverse netgroup maps are used to help speed up netgroup lookups, particularly for the innetgr() library function.
For example, the standard /etc/netgroup file may list a netgroup and a list of its members. Here, the netgroup is considered the key and the
member names are the data. By contrast, the reverse netgroup.byuser database lists each unique member as the key and the netgroups to which
the members belong become the data. Separate databases are created to hold information pertaining to users and hosts; this allows netgroup
username lookups and netgroup hostname lookups to be performed using independent keyspaces.
By constructing these reverse netgroup databases (and the corresponding NIS maps) in advance, the getnetgrent(3) library functions are spared
from having to work out the dependencies themselves on the fly. This is important on networks with large numbers of users and hosts, since
it can take a considerable amount of time to process very large netgroup databases.
The revnetgroup utility prints its results on the standard output. It is usually called only by /var/yp/Makefile when rebuilding the NIS
netgroup maps.
OPTIONS
The revnetgroup utility supports the following options:
-u Generate netgroup.byuser output; only username information in the original netgroup file is processed.
-h Generate netgroup.byhost output; only hostname information in the original netgroup file is processed. (Note at least one of the -u
or -h flags must be specified.)
[-f netgroup_file]
The revnetgroup utility uses /etc/netgroup as its default input file. The -f flag allows the user to specify an alternate input
file. Specifying ``-'' as the input file causes revnetgroup to read from the standard input.
FILES
/var/yp/Makefile the Makefile that calls yp_mkdb and revnetgroup to build the NIS databases
/etc/netgroup the default netgroup database file. This file is most often found only on the NIS master server
SEE ALSO getnetgrent(3), netgroup(5), yp(8), yp_mkdb(8)AUTHORS
Bill Paul <wpaul@ctr.columbia.edu>
BSD October 24, 1995 BSD