I suggest staying away from ACLs. They tend to create bigger problems than they solve, but that is just my opinion.
Having said this: create a special group, give ownership of the file to this group, set the group rights to what you need and add the user you want to give access to the file to this group. This should achieve what you want.
Example:
This will give the ID "otheruser" read- and write-access to the file while changing nothing for UID "user". Set the filemode "740" for read-access only.
I'm a newbie to Unix and hoping that it will be my saviour when all else has failed.
My "keys out of order" on my g4 laptop and neither Disk Util nor Disk Warrior can fix it.
I'm experimenting in the unix command line (I figure I can't mess this laptop up anymore , and have figured out how... (3 Replies)
Hi All,
How can i give permission for a specific user ( eg. admin ) ?
I tried with chmod admin+r prog.sh
which doesnt work.
Is there any way i can specify a user's name and give the permission?
Thanks in advance.
Saneesh Joseph. (1 Reply)
hi everyone.
iīve been burning my head for a week now with this problem and i couldnīt find a solution. iīve been looking for an answer in this forum but nothing either. so i decided to ask.
the thing is, i want to create a users with permission to kill just a group of users. i know how to write... (6 Replies)
Hi all,
I created testuser. by following command.
/usr/sbin/adduser -n test -d /disk05/collections/GET/testdata/
and then set its password by following command.
passwd testuser
When I login to system by testuser, it enters everything is ok.
The problem is how to set permission to this... (3 Replies)
Hi,
/etc/passwd file has write permission only for the root user.
Now when a normal user changes the its own password using passwd command, how this information has been written to the /etc/passwd file when the user is not having write permission to this file.
~santosh (2 Replies)
hello,
I would like to grant full access to a directory which is owned by root and the web application that created it. I have though of adding the permission to the whole world, but for security reason I would like to grant it to one more user.
I have tried this 'chmod -U newUser+wrx... (2 Replies)
Guy's
we are in AIX 5.3
We have created two users user1 and user2 and they are under same group Staff Group
user1 will create file under /tmp/ and this is the permission of this file
-rw-r--r-- 1 user1 staff 1 Jun 13 09:47 file
user2 is under same group and when he... (14 Replies)
Hi,
I'm newbie to unix.
There is a directory, say Testing/ under /home/user1.
I have created a user by the name check.
I was looking for a way to give the above user read & execute access only to this directory Testing/ while for other remaining files,directories,etc this user... (2 Replies)
Hi folks,
I am trying to grant the access like below items using the setfacl command, but i couldn't achieve as what I required. any other possibility.
username : testing
Readonly access in /form_dl/system/prd/logs
Write only access in /form_dl/system/prd/deploy
No access to other... (0 Replies)
Hi,
There are 2 users (T886072 & T864764) that need to be provided full (rwx) access to a directory. I made the changes to the directory permissions using chmod and setfacl :
root@digidb2:# chmod 700 /u02/ftpfiles/MFRS16/discount_rates/
root@digidb2:# setfacl -s... (3 Replies)
Discussion started by: anaigini45
3 Replies
LEARN ABOUT HPUX
rpccp_remove_member
remove member(1m) remove member(1m)NAME
remove member - Removes a specified member from a group
SYNOPSIS
rpccp remove member group-entry-name -m member [-s syntax]
OPTIONS
Declares the entry name of the group member to be removed (required). Indicates the name syntax of the entry name (optional). The only
value for this option is the dce name syntax, which is the default name syntax. Until an alternative name syntax becomes available, speci-
fying the -s option is unnecessary.
ARGUMENTS
Indicates the name of the target group. For an entry in the local cell, you can omit the cell name and specify only the cell-relative
name.
DESCRIPTION
The remove member command removes a specified member from a specified group.
Privilege Required
You need read permission and write permission to the CDS object entry (the target group entry).
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLES
The following commands run RPCCP and remove the member /.:/LandS/anthro/Cal_host_2 from the group /.:/LandS/dept/Calendar_group: $ rpccp
rpccp> remove member > -m /.:/LandS/anthro/Cal_host_2 > /.:/LandS/anthro/Calendar_group The following command removes the member
/.:/LandS/anthro/Cal_host_3 from the group /.:/LandS/anthro/Calendar_group: $ rpccp remove member > -m /.:/LandS/anthro/Cal_host_3 >
/.:/LandS/anthro/Calendar_group
RELATED INFORMATION
Commands: add member(1m), remove group(1m), show group(1m)
remove member(1m)