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)
Code:
@localgroup hard nofile 8192
@localgroup soft nofile 8192
but if i try to get it to resolve against a NIS netgroup like this
Code:
@myusers hard nofile 8192
@myusers soft nofile 8192
or
Code:
+@myusers hard nofile 8192
+@myusers soft nofile 8192
The users continue to get given the default ulimit value (1024) for the 'nofile' configurable.
Code:
$ ulimit -a
...
nofile (-n) 1024
...
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 OSF1
netgroup
netgroup(4) Kernel Interfaces Manual netgroup(4)NAME
netgroup - List of network groups
DESCRIPTION
The netgroup file defines network-wide groups used for permission checking when doing remote mounts, remote logins, and remote shells. For
remote mounts, the information in the netgroup file is used to classify machines; for remote logins and remote shells, it is used to clas-
sify users. Each line of the netgroup file defines a group and has the following format:
groupname member_1 ... member_n
Each member can be either another group name or a combination of the host name, user name, and domain name in the following format:
(hostname, username, domainname)
Any of the three fields can be empty, in which case a wildcard is assumed. For example, to define a group to which everyone belongs, the
following entry could appear in the netgroup file: universal (,,)
Field names that begin with something other than a letter, digit, or underscore (such as ``-'') work in the opposite way. For example:
justmachines (analytica,-,suez) justpeople (-,babbage,suez)
The machine analytica belongs to the group justmachines in the domain suez, but no users belong to it. Similarly, the user babbage belongs
to the group justpeople in the domain suez, but no machines belong to it.
Network groups are part of the NIS database and are accessed through these files:
/etc/yp/domainname/netgroup.dir
/etc/yp/domainname/netgroup.pag
/etc/yp/domainname/netgroup.byuser.dir
/etc/yp/domainname/netgroup.byuser.pag
/etc/yp/domainname/netgroup.byhost.dir
/etc/yp/domainname/netgroup.byhost.pag
These files can be created from /etc/netgroup using makedbm(8).
FILES
/etc/netgroup
/etc/yp/domainname/netgroup.dir
/etc/yp/domainname/netgroup.pag
/etc/yp/domainname/netgroup.byuser.dir
/etc/yp/domainname/netgroup.byuser.pag
/etc/yp/domainname/netgroup.byhost.dir
/etc/yp/domainname/netgroup.byhost.pag
RELATED INFORMATION getnetgrent(3), makedbm(8), ypserv(8) delim off
netgroup(4)