GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Users group access
Operating System - HP-UX
1849278
Members
6936
Online
104042
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 03:03 AM
07-13-2004 03:03 AM
Users group access
Dear All,
I need to create two groups (grp1 and gr2) with some users(user1, user2...), the users in one group should not be able to read or edit other group files.
user1 in grp1 alone should be able to access grp2 files.
How can i go about in doing the same.
Thanks
I need to create two groups (grp1 and gr2) with some users(user1, user2...), the users in one group should not be able to read or edit other group files.
user1 in grp1 alone should be able to access grp2 files.
How can i go about in doing the same.
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 03:08 AM
07-13-2004 03:08 AM
Re: Users group access
By access do you mean read?
grp1 have exclusive access to their own files: make file permissions rwxrwx--- (770 octal).
grp2 files are to be read by grp1: make file permissions rwxrwxr-- (774 octal).
chmod 770 (filename)
Make adjustments as necessary if, for example, the files are not executable.
Mark Syder (like the drink but spelt different)
grp1 have exclusive access to their own files: make file permissions rwxrwx--- (770 octal).
grp2 files are to be read by grp1: make file permissions rwxrwxr-- (774 octal).
chmod 770 (filename)
Make adjustments as necessary if, for example, the files are not executable.
Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 03:11 AM
07-13-2004 03:11 AM
Re: Users group access
You control this with perms on file owned by respective groups.
Add user1 as follows.
His primary group will be grp1 and secondary group grp2.
He will be able to access files owned by grp2.
Make sure /etc/logingroup is linked to /etc/group
Anil
Add user1 as follows.
His primary group will be grp1 and secondary group grp2.
He will be able to access files owned by grp2.
Make sure /etc/logingroup is linked to /etc/group
Anil
There is no substitute to HARDWORK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP