Sponsored Content
Full Discussion: Quotas and NIS
Operating Systems Solaris Quotas and NIS Post 42136 by hassan2 on Wednesday 22nd of October 2003 03:20:06 PM
Old 10-22-2003
I don't think that is what sun recommended??

your passwd and shadow file should always be in /etc and passwd map file sholud be build in /var/yp/ypfiles

can users authenticate using NIS?
 

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
edquota(1M)															       edquota(1M)

NAME
edquota - edit disk quotas SYNOPSIS
proto_name] name... DESCRIPTION
The command is the quota editor. One or more name of either users or groups can be specified on the command line. For each name, a tempo- rary file is created with a textual representation of the current disk quotas for that user or group, and an editor is invoked on the file. The quotas can then be modified, new quotas added, and so on. Upon leaving the editor, reads the temporary file and modifies the binary quota files to reflect the changes made. The editor invoked is specified by the environment variable. It defaults to (see vi(1)). In order for user quotas to be established on a file system, the root directory of the file system must contain a file named Similarly, for group quotas, the file must exist on the root directory of the file system. See quota(5) for details. Quotas can be established for all the users or groups on file systems created with largefiles enabled. However, on HFS file systems and file systems on which largefiles is not enabled, quotas cannot be created for user ids greater than 67,000,000. Quotas cannot be estab- lished for groups on HFS file systems. Refer to usergroupname(5) to understand the functionality changes with the Numeric User Group Name feature. Only users who have appropriate privileges can edit quotas. Options Edits the quotas of one or more groups, specified by name(s). Duplicates the quotas of the group (when used with the option) or user proto_name for each group or user, name. This is the normal mechanism used to initialize quotas for groups of users. Edit the time limits for each file system. Time limits are set for file systems, not users. When a user exceeds the soft limit for blocks or inodes on a file system, a countdown timer is started and the user has an amount of time equal to the time limit in which to reduce usage to below the soft limit (the required action is given by the command). If the time limit expires before corrective action is taken, the quota system enforces policy as if the hard limit had been exceeded. The default time limit of 0 is interpreted to mean the value in or one week (7 days). Time units of sec(onds), min(utes), hour(s), day(s), week(s), and month(s) are under- stood. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. Edits the quotas of one or more users (the default), specified by name(s). Temporary File Formats Here is an example of the temporary file created for editing user block and inode quotas: Here is the format for editing quota time limits: When editing values, it is not necessary to remove the string. For example, to change the for changing the to is sufficient. WARNINGS
When establishing quotas for a user who has had none before, (for either blocks or inodes), the quota statistics for that user do not include any currently occupied file system resources. Therefore, it is necessary to run (see quotacheck(1M)) to collect statistics for that user's current usage of that file system. See quota(5) for a detailed discussion of this topic. will only edit quotas on local file systems. AUTHOR
was developed by the University of California, Berkeley, and by Sun Microsystems, Inc. FILES
Static information about the file systems. Mounted file system table Group and user quota statistics static storage for a file system respectively, where directory is the root of the file system as specified to the command (see mount(1M)). SEE ALSO
quota(1), vi(1), quotacheck(1M), quotacheck_hfs(1M), quota(5), usergroupname(5). edquota(1M)
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy