04-26-2010
user and its group
Hello,
is there any command which can show a particular user "xyz" is belongs to how many groups
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I can't get a clear answer on this one...
I have a Oracle user created in group 'dba'
when this user touches a file the group displayed is 'sys' - why?
The 'sys' group is not included in the list of secondary groups for this user.
Is this standard to Oracle on Unix? (AIX)
Anybody? (1 Reply)
Discussion started by: errolg
1 Replies
2. UNIX for Dummies Questions & Answers
Hi!
Herez the scenario
1. logged in as user xxxx
$ id
uid=125(xxxx) gid=101(my_grp) groups=0(system),15(users),16(sysadmin),19(adm),110(appl)
$ touch test
$ ls -la test
-rw-r--r-- 1 xxxx system 0 Mar 7 14:31 test
Why is the group of the file test 'system' and not... (2 Replies)
Discussion started by: sdharmap
2 Replies
3. UNIX for Dummies Questions & Answers
I was asked to set up a unix system and i am at a loss. i need to know the best one for a small to medium sized business and how to go about setting up the uids and the guids for the network. what permissions i have available and such. (1 Reply)
Discussion started by: dwchapman
1 Replies
4. Solaris
Hi all,
I have a existing user user1 its group id dba
i have created a new user named: uta and added to group dba
my task for creating uta ( to ftp solaris server from /oracle/pcmia/dry1 & oracle/pcmia/dry2 and get some rdf ( database patch) and saved in one windows folder named d:\patch... (2 Replies)
Discussion started by: saurabh84g
2 Replies
5. Shell Programming and Scripting
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies
6. Ubuntu
Hi,
Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01".
I want both in the sames privileges and group. Please see the existing users list below;
drwxr-xr-x 53 useroradb01... (0 Replies)
Discussion started by: fspalero
0 Replies
7. Debian
Can someone help in creating a group and user.
syntax to create a Group called Members.
syntax to create a user called AAAA and place in to the Group Members.
Thanks for your help in Advance. (3 Replies)
Discussion started by: sawyer
3 Replies
8. Shell Programming and Scripting
hi
i have vert strange query.. can we add user in unix with out assigned it to any group i mean user which is having no default group or anything..
like this in /etc/passwd file
new_user::::::::
Please help (2 Replies)
Discussion started by: aishsimplesweet
2 Replies
9. Linux
Hi I am facing problem of taking backup of file system as username1.
There are some files in system which is having group ownership as nobody.
and username1 is not able to open this file and backup is failing .Even as a root user I can not open this file.
File which is creating problem is ... (1 Reply)
Discussion started by: devesh123
1 Replies
10. Red Hat
Hi,
In the following output you can see the the user "richard" is a member on the team/group "developers":
# id richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)
but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies
LEARN ABOUT OPENSOLARIS
groups
groups(1B) SunOS/BSD Compatibility Package Commands groups(1B)
NAME
groups - display a user's group memberships
SYNOPSIS
/usr/ucb/groups [user]...
DESCRIPTION
With no arguments, groups displays the groups to which you belong; else it displays the groups to which the user belongs. Each user
belongs to a group specified in the password file /etc/passwd and possibly to other groups as specified in the file /etc/group. If you do
not own a file but belong to the group which it is owned by then you are granted group access to the file.
FILES
/etc/passwd
/etc/group
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
getgroups(2), attributes(5)
NOTES
This command is obsolete.
SunOS 5.11 14 Sep 1992 groups(1B)