06-11-2010
Groups access
Hi all,
Can someone tell me how I can get around this problem. Basically I use the HP-UX OS and I work with 2 top level directories.
/z/group1
/z/group2
these 2 dirs are managed where group1 can only be access by one set of users and group2 another. This is managed by adding the 2 different groups to those users to use. My question is, rather than relying on these groups only is there a way to provide a very remote sub-directory under group2 such as /z/group2/dir1/dir2/here where all users can access without having to add the group access to all???? i.e. in tricking ALL users they are group2 so they can access a file under this sub-dir
I only wish for them to access a generic script you see
Thanks
CF
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
2. AIX
Hello
A couple of weeks ago, I added a user to an AIX 5.3 system.
I go to add one today, and it appears that when creating a user in smit, I cannot see any groups.
No primary groups
No Group set
No Admin Groups
The /etc/group and etc/secuity/group files seem to be intact.
I did... (4 Replies)
Discussion started by: mhenryj
4 Replies
3. Solaris
how to create 1000 users in 1 group (0 Replies)
Discussion started by: tirupathi
0 Replies
4. Solaris
1 user in member of 4 groups find file permissions and default group (1 Reply)
Discussion started by: tirupathi
1 Replies
5. UNIX for Dummies Questions & Answers
hi all,
i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies
6. IP Networking
Hi
Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies
7. UNIX for Dummies Questions & Answers
Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated. (2 Replies)
Discussion started by: nthepines
2 Replies
8. Solaris
Hi All,
I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.
Regards,
Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies
9. Shell Programming and Scripting
I have a file with contents like
host1.domain.com:9090,host2.domain.com:9090,host3.domain.com:9090
I am looking for such an operation so that, the output should be
host1.domain.com:9090
host2.domain.com:9090
host3.domain.com:9090
And also, if the number of entries are more, the... (1 Reply)
Discussion started by: anil510
1 Replies
10. Proxy Server
Dear all experts here,
:)
I would like to install a proxy server on Linux server to perform solely to control the access of Web server.
In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server.
I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies
LEARN ABOUT OSX
mpi_group_difference
MPI_Group_difference(3OpenMPI) MPI_Group_difference(3OpenMPI)
NAME
MPI_Group_difference - Makes a group from the difference of two groups.
SYNTAX
C Syntax
#include <mpi.h>
int MPI_Group_difference(MPI_Group group1, MPI_Group group2,
MPI_Group *newgroup)
Fortran Syntax
INCLUDE 'mpif.h'
MPI_GROUP_DIFFERENCE(GROUP1, GROUP2, NEWGROUP, IERROR)
INTEGER GROUP1, GROUP2, NEWGROUP, IERROR
C++ Syntax
#include <mpi.h>
static Group Group::Difference(const Group& group1, const Group& group2)
INPUT PARAMETERS
group1 First group (handle).
group2 Second group (handle).
OUTPUT PARAMETERS
newgroup Difference group (handle).
IERROR Fortran only: Error status (integer).
DESCRIPTION
The set-like operations are defined as follows:
o union -- All elements of the first group (group1), followed by all elements of second group (group2) that are not in the first group
o intersect -- all elements of the first group that are also in the second group, ordered as in first group
o difference -- all elements of the first group that are not in the second group, ordered as in the first group
Note that for these operations the order of processes in the output group is determined primarily by order in the first group (if possible)
and then, if necessary, by order in the second group. Neither union nor intersection are commutative, but both are associative.
The new group can be empty, that is, equal to MPI_GROUP_EMPTY.
ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func-
tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
will be used to throw an MPI:Exception object.
Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for
I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be
used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.
SEE ALSO
MPI_Group_free
Open MPI 1.2 September 2006 MPI_Group_difference(3OpenMPI)