Sponsored Content
Full Discussion: Quotas and NIS
Operating Systems Solaris Quotas and NIS Post 42075 by meyersp on Tuesday 21st of October 2003 11:31:02 PM
Old 10-22-2003
I was running edquota from the master and getting the error that the user could not be found. I think it is looking for local users not nis users. The passwd and shadow file that i use to build the NIS maps with is not located in /etc but another place based on suns recommendation. The only thing i havent tried is to log on to the master server with a NIS admin account and run edquota. Ill give that a shot.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

setting quotas

Hi, I'm trying to setup user quotas on my Linux system. It is Suse 7.3 running the standard kernel from that release. When I try to run quotaon, I get the following: # quotaon -v /dev/hdc1 quotaon: using /home/aquota.user on /dev/hdc1: Invalid argument I can't figure out what it means by... (1 Reply)
Discussion started by: cybler
1 Replies

2. Shell Programming and Scripting

Need help!! script for quotas

here is the file i must use to write my script (from a repquota -g) : Group used soft grace ... group1 -- 270000 0 0 ... group2 -- 1500005 0 0 ... group3 -- 55 0 0 ... ... ... ... ... the script has to... (2 Replies)
Discussion started by: tomapam
2 Replies

3. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

4. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

5. UNIX for Dummies Questions & Answers

AIX 5.3 quotas

Hello, I will be creating several users on a new AIX box. I would like to limit the amount of data they can keep. How can I do that in smit or with a command. Thanks - Brad (0 Replies)
Discussion started by: rondebbs
0 Replies

6. Filesystems, Disks and Memory

auto quotas?

Heres a stupid question to all you Linux gods/goddesses. Is there any way to have the system automatically set user quotas when a user account is created or does it have to be done by hand or a script. Every article, thread, anything Ive read so far only shows how to set quotas manually. Any... (3 Replies)
Discussion started by: mcady_02
3 Replies

7. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

8. Linux

MySQL Quotas

How do I limit the maximum usage space for a specific MySQL user ?? Databases can be unlimited but the total sum of data on all tables and databases shouldn't exceed a limit I want. How to do this ?? (2 Replies)
Discussion started by: Nilesh_lf
2 Replies

9. Shell Programming and Scripting

Validating that the NIS and NIS+ services are disabled

I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies

10. UNIX for Dummies Questions & Answers

Disk Quotas

Hi, I'm practicing new things with Linux/Unix and I need someone to point me at the right direction. Lets say I create a user named user1. After creating it, how would I enable quotas for it. I have already added "userquota" under "/etc/fstab" and rebooted my system, but after I run the command... (1 Reply)
Discussion started by: abhi7514
1 Replies
GROUP(5)						      BSD File Formats Manual							  GROUP(5)

NAME
group -- format of the group permissions file DESCRIPTION
The group file /etc/group is the local source of group information. It can be used in conjunction with the Hesiod domain 'group', and the NIS maps 'group.byname' and 'group.bygid', as controlled by nsswitch.conf(5). The group file consists of newline separated ASCII records, usually one per group, containing four colon ':' separated fields. Each line has the form: group:passwd:gid:[member[,member]...] These fields are as follows: group Name of the group. passwd Group's encrypted password. gid The group's decimal ID. member Group members. The group field is the group name used for granting file access to users who are members of the group. The gid field is the number associated with the group name. They should both be unique across the system (and often across a group of sys- tems) since they control file access. The passwd field is an optional encrypted password. This field is rarely used and an asterisk is normally placed in it rather than leaving it blank. The member field contains the names of users granted the privileges of group. The member names are separated by commas without spaces or newlines. A user is automatically in a group if that group was specified in their /etc/passwd entry and does not need to be added to that group in the /etc/group file. Very large groups can be accommodated over multiple lines by specifying the same group name in all of them; other than this, each line has an identical format to that described above. This can be necessary to avoid the record's length limit, which is currently set to 1024 charac- ters. Note that the limit can be queried through sysconf(3) by using the _SC_GETGR_R_SIZE_MAX parameter. For example: biggrp:*:1000:user001,user002,user003,...,user099,user100 biggrp:*:1000:user101,user102,user103,... The group with the name ``wheel'' has a special meaning to the su(1) command: if it exists and has any members, only users listed in that group are allowed to su to ``root''. HESIOD SUPPORT
If 'dns' is specified for the 'group' database in nsswitch.conf(5), then group lookups occur from the 'group' Hesiod domain. NIS SUPPORT
If 'nis' is specified for the 'group' database in nsswitch.conf(5), then group lookups occur from the 'group.byname' and 'group.bygid' NIS map. COMPAT SUPPORT
If 'compat' is specified for the 'group' database, and either 'dns' or 'nis' is specified for the 'group_compat' database in nsswitch.conf(5), then the group file may also contain lines of the format +name:*:: which causes the specified group to be included from the 'group' Hesiod domain or the 'group.byname' NIS map (respectively). If no group name is specified, or the plus sign (``+'') appears alone on line, all groups are included from the Hesiod domain or the NIS map. Hesiod or NIS compat references may appear anywhere in the file, but the single plus sign (``+'') form should be on the last line, for his- torical reasons. Only the first group with a specific name encountered, whether in the group file itself, or included via Hesiod or NIS, will be used. FILES
/etc/group SEE ALSO
newgrp(1), passwd(1), su(1), setgroups(2), crypt(3), initgroups(3), nsswitch.conf(5), passwd(5), yp(8) HISTORY
A group file format appeared in Version 6 AT&T UNIX. The NIS file format first appeared in SunOS. The Hesiod support first appeared in NetBSD 1.4. BUGS
The passwd(1) command does not change the group passwords. BSD
June 21, 2007 BSD
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy