04-16-2009
Access control lists
Take a look at Access Control Lists - 'setfacl'. This does what zxmaus has suggested by putting extended permissions on files/directories.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
Please any one can help me to know that how we can restrict a user group to access the kernel at all. (0 Replies)
Discussion started by: harishankar
0 Replies
2. UNIX for Advanced & Expert Users
Upon trying to open up permissions between 2 accounts in Snow Leopard I caused the os to crash - restarting/turning off then on did nothing - the os would no longer load. I took it into Apple where they got the os back up and running with a slight twist. The secondary drive was flagged (a little... (0 Replies)
Discussion started by: Alexander4444
0 Replies
3. AIX
How to assign superuser privilege to an ordinary user temporarily (1 Reply)
Discussion started by: udtyuvaraj
1 Replies
4. AIX
Hello,
I am new in AIX please tell how can i create user and add group in this user for example, i want to create user umair and want to add this user primanry group DBA and secondary group ORACLE,how can i do this please tell in detail
Thanks,
Umair (1 Reply)
Discussion started by: umair
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
How can I restrict access to a set of people in a group on a directory?
Ex.. The following are the permissions on a directory (dir1)
rwxrwxr-- own1 grp1 dir1
where own1 is the owner
grp1 is the group name
and dir1 is the directory name.
So., Is there any way that only few id's in... (0 Replies)
Discussion started by: brahmi
0 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. Solaris
I have performed the following with lower case group and usernames and the only difference is that the error message under groupadd goes away, yet I am still unable to successfully add a user WITH a home directory.
This is in Solaris 10. I am able to add a group, add a user, add the users... (3 Replies)
Discussion started by: Showflash
3 Replies
8. Shell Programming and Scripting
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies
9. 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
10. Shell Programming and Scripting
Hi ,
I want to create 3 different user with below privilege in Solaris and Linux.
1) Read Only
2)Read and Write Only
3) Admin user
Can you guys help me on this . (3 Replies)
Discussion started by: Naveen Pathak
3 Replies
LEARN ABOUT OSF1
initgroups
initgroups(3) Library Functions Manual initgroups(3)
NAME
initgroups - Initializes concurrent group set
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
int initgroups ( char *user, gid_t base_gid );
PARAMETERS
Specifies the user whose groups are to be used to initialize the group set. Specifies an additional group to include in the group set.
DESCRIPTION
The initgroups() function reads the defined group membership of the specified user and sets the concurrent group set of the current process
to that value. The base_gid parameter is always included in the concurrent group set, and is normally the principal user's group. If the
user is in more than NGROUPS_MAX groups, only NGROUPS_MAX groups are set, including the base_gid group.
CAUTION
The initgroups() function uses the sia_get_groups() function to set up the group array. If the program that invokes initgroups() uses any
of these functions, then calling initgroups() overwrites the static group structure.
RETURN VALUES
Upon successful completion, the initgroups() function returns 0 (zero). If the initgroups() function fails, 1 is returned and errno is set
to indicate the error.
ERRORS
If the initgroups() function fails, errno may be set to the following value: The calling process does not have the appropriate privilege in
its current effective privilege set.
RELATED INFORMATION
Functions: getgroups(2), setgroups(2), getgid(2) sia_get_groups(3)
Commands: groups(1) delim off
initgroups(3)