02-06-2013
/etc/security
if you want to set it for all users you can use the wildcard * or you can put the group user and all new user are in user. so you will use @user.
Also if you are on systemd you can set that in /etc/systemd/user.conf .
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Discussion started by: jarthda
1 Replies
2. UNIX for Advanced & Expert Users
Hi Guru,
Need some advice on the PROs and CONs between setting up user quota with NAS and Nis.
Thanks
Regards. YLL (1 Reply)
Discussion started by: yll
1 Replies
3. HP-UX
Hello,
I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
Discussion started by: chrizz
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all!
I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed:
du -hs
It showed me:
76K .
But when I used quota command, it showed me:
Disk quotas for user X (uid *********):
Filesystem blocks quota ... (2 Replies)
Discussion started by: mjdousti
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Discussion started by: solaris5.10
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold.
I have made a script for it but I am facing an error while executing it.
Could any one here guide me further??
Script
#!/bin/sh
warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone
I'm really new to all this but i need help creating a script that will produce the following for each user when they log on using bash
You are currently using 91% of your quota
Consider reducing your usage
The 10 biggest directories in your home directory are:
Size Directory... (2 Replies)
Discussion started by: Snoop180
2 Replies
8. Red Hat
Hi,
I want to apply the user quota, but i am unable to apply the quota to user.
Kindly provide the guide line, so that i can sortout the problem.
Step 1: Create partion on device
#fdisk /dev/sda (because hard disk is scsi)
#n (new partition table) i.e /dev/sda8.
#p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies
9. Linux
I am running on CentOS 5.3 x86 64bit.
I setup quotas on /home as I thought successfully, I tested numerous times with a couple of different users. I login this morning and find my /home near 100% wondering what happened.
I have one user that some how blew through his 3.5 gig quota and... (1 Reply)
Discussion started by: beaker457
1 Replies
10. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
LEARN ABOUT OPENSOLARIS
nss-systemd
NSS-SYSTEMD(8) nss-systemd NSS-SYSTEMD(8)
NAME
nss-systemd, libnss_systemd.so.2 - Provide UNIX user and group name resolution for dynamic users and groups.
SYNOPSIS
libnss_systemd.so.2
DESCRIPTION
nss-systemd is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc), providing UNIX user and
group name resolution for dynamic users and groups allocated through the DynamicUser= option in systemd unit files. See systemd.exec(5) for
details on this option.
This module also ensures that the root and nobody users and groups (i.e. the users/groups with the UIDs/GIDs 0 and 65534) remain resolvable
at all times, even if they aren't listed in /etc/passwd or /etc/group, or if these files are missing.
To activate the NSS module, add "systemd" to the lines starting with "passwd:" and "group:" in /etc/nsswitch.conf.
It is recommended to place "systemd" after the "files" or "compat" entry of the /etc/nsswitch.conf lines so that /etc/passwd and /etc/group
based mappings take precedence.
EXAMPLE
Here is an example /etc/nsswitch.conf file that enables nss-systemd correctly:
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
SEE ALSO
systemd(1), systemd.exec(5), nss-resolve(8), nss-myhostname(8), nss-mymachines(8), nsswitch.conf(5), getent(1)
systemd 237 NSS-SYSTEMD(8)