Sponsored Content
Operating Systems HP-UX Creating user groups that are persistent Post 303000422 by hicksd8 on Wednesday 12th of July 2017 03:19:10 AM
Old 07-12-2017
I've read through your post several times and I think that you are confusing the group named 'bscs' with the user 'bscs' which are not the same thing. There's nothing wrong with having a group name the same as a user name but do not confuse them.

Having said that, becoming user 'bscs' is not going to help you see what groups another user is a member of. Any user does not have the rights to see what groups another user is in. Only root can do that.
This User Gave Thanks to hicksd8 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dynamic user groups

Is it possible to dynamically allocate a new user group to an existing session on Solaris 5.8 I'd like to be able to allow certain users to access a set of scripts for the life of session (preferably there own session not a specific login created for the purpose) by dynamically giving the session... (0 Replies)
Discussion started by: hammer
0 Replies

2. UNIX for Dummies Questions & Answers

Adding user to groups

How do I add a user to a group? And how do I determine the list of groups to add a user? Solaris 10 newbie (1 Reply)
Discussion started by: peteythapitbull
1 Replies

3. UNIX for Dummies Questions & Answers

User groups

Hi I have a user zak and 4 groups:- oracle stats data archive I want user zak to be part of the oracle and stats group but not be able to view,list anything in data and archive. Also anyone in the data and archive group should not be able to view,list anything in oracle and stats....... (3 Replies)
Discussion started by: Zak
3 Replies

4. Solaris

Setting user groups

Hi......... I'm trying to set a group of users to login to do a required super-user tasks without knowing the super-user passwd. For example...a user popodude logs in as self with passwd..system accepts the password & then automatically asks for the super-user account passwd. My goal is... (1 Reply)
Discussion started by: Remi
1 Replies

5. AIX

user & groups

1 - what is the maximum no: of groups a user can be a part of ? 2 - what is maximum no: of users a group can contain ? (6 Replies)
Discussion started by: senmak
6 Replies

6. AIX

Security user Can't change the groups.

Dears Security users in AIX don’t have permission to change the group of the user thru Smitty Users When they try to change the group of the users to any group they'll get permission denied Security profile in Smitty : User... (10 Replies)
Discussion started by: ITHelper
10 Replies

7. UNIX for Dummies Questions & Answers

How to add user to multiple groups

hi all i am new to solaris how to add a user to multiple(secondary) groups. user :anna Groups : delhi ,mumbai,pune i need like this in cat /etc/group delhi::anna mumbai::anna pune::anna i tried using usermod -a -G hyd anna that does int work how to delete user from group... (3 Replies)
Discussion started by: kalyankalyan
3 Replies

8. AIX

Nested user groups

Is there a command to nest a group in another group in AIX. (2 Replies)
Discussion started by: daveisme
2 Replies

9. UNIX for Advanced & Expert Users

How to get User list from different groups and root?

Hi all, I want to list out users from different group and root, who are roaming in our group or root as a user. how can i list out this users ? (1 Reply)
Discussion started by: kpatel97
1 Replies

10. UNIX for Advanced & Expert Users

Creating groups and users

Hi Could anyone please suggest how we can check in Linux if a user or a group name is already existing? In case of a user the command should also be able to specify the user with a given directory and shell. We can of course check this using a grep command but since that is just a pattern match,... (12 Replies)
Discussion started by: Dorothy
12 Replies
quota(1)						      General Commands Manual							  quota(1)

NAME
quota - displays disk usage and limits SYNOPSIS
quota [-agGuUqv] quota [-a] [-g] [groupname] [-qv] quota [-a] [-G] [groupID] [-qv] quota [-a] [-u] [username] [-qv] quota [-a] [-U] [userID] [-qv] OPTIONS
Displays quota information for all mounted file systems: those in the /etc/fstab file and those mounted manually or with automount. The -q option takes precedence over the -a option. When specified without the groupname argument, displays group quotas for groups of which you are a member. Displays group quotas for the group when you specify groupname. When specified without the groupID argument, displays group quotas for groups of which you are a member. Displays group quotas for the group when you specify groupID. Displays only your user quotas (the default) when specified without the username argument. Displays user quotas for the user when you specify username. Displays only your user quotas (the default) when specified without the userID argument. Displays user quotas for the user when you specify userID. Displays information only for file systems that have disk quotas and where usage is over quota. Takes precedence over the -v and -a options. Displays quota information for all mounted file systems that are specified in the /etc/fstab file. Quota information is dis- played for each file system whether or not quotas are enabled for it. The -q option takes precedence over the -v option. DESCRIPTION
The quota command displays disk space usage and limits. Disk quotas are displayed as 1 kilobyte blocks. By default, only your user quotas are displayed. If you use the -g or the -G option without an argument, the quota command displays group quotas for groups of which you are a member. Unless you use the -v option, the quota command reports only on file systems listed in /etc/fstab that have disk quotas and under which you have files. If quota exits with a status of 1, one or more file systems are over quota. If quota exits with a status of 2, there are sys- tem errors. NOTES
The term file system represents either a UFS file system or an AdvFS fileset. Do not use both a user and a group option in the same command. RESTRICTIONS
You must be the root user to use the optional username or userID argument to view information about another user, or to use the optional groupname or groupID argument to view information about a group to which you do not belong. FILES
Contains user quotas for each file system. Contains group quotas for each file system. Contains file system names and locations. SEE ALSO
edquota(8), quot(8), quotacheck(8), quotaon(8), quotaoff(8), repquota(8), quotactl(2), fstab(4) quota(1)
All times are GMT -4. The time now is 05:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy