- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User privilidges
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Community
Resources
Forums
Blogs
- 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
03-17-2004 02:37 AM
03-17-2004 02:37 AM
User privilidges
I have had a slightly strange request from a user asking if he can have privilidges to delete (housekeep) files from another users directory. After investigation I can understand his reasoning, is their a simple way of doing this. Didn't really want to go down the route of Sudo or opening up the user directory too much.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 02:44 AM
03-17-2004 02:44 AM
Re: User privilidges
Put them in the same group and set group permissions to allow this. However if you only want to give access to certain files this may be a bit more tricky. You may have to have the group changed on the files after they are created.
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 02:56 AM
03-17-2004 02:56 AM
Re: User privilidges
did that solve your problem?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 02:57 AM
03-17-2004 02:57 AM
Re: User privilidges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 03:05 AM
03-17-2004 03:05 AM
Re: User privilidges
another way could be access control lists. Have you worked with that before?
have a look at man acl,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 03:08 AM
03-17-2004 03:08 AM
Re: User privilidges
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 03:11 AM
03-17-2004 03:11 AM
Re: User privilidges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 03:47 AM
03-17-2004 03:47 AM
Re: User privilidges
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 03:58 AM
03-17-2004 03:58 AM
Re: User privilidges
How about making a new group that only these two users are members of. Make this group the primary group for your first user and the second user will be able to delete these files if you set them up correctly.
Of course, if user one can't have a new primary group then we are back to square one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 04:12 AM
03-17-2004 04:12 AM
Re: User privilidges
using Marks idea you could have the users in multiple groups and then issue the newgrp command to change primary group before creating the files.
ie if a user is in primary group grpa and has group membership grpa and grpb then
touch file1
will create a file owned by that user with grpa membership
then run
newgrp grpb
touch file2
will create a file owned by that user with grpb membership
If only those users share one of those groups then only they can delete the files those files.
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 04:18 AM
03-17-2004 04:18 AM
Re: User privilidges
see the man page logingroup
From that :-
"If /etc/logingroup and /etc/group are links to the same file, the default access list includes the entire set of groups associated with the user."
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 04:19 AM
03-17-2004 04:19 AM
Re: User privilidges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:58 AM
03-17-2004 07:58 AM