- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- write permission in /opt directory
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
02-13-2003 09:53 PM
02-13-2003 09:53 PM
write permission in /opt directory
thanks,
spv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 10:19 PM
02-13-2003 10:19 PM
Re: write permission in /opt directory
Then if that is the case then you can give permissions for a non-root user only.
If it is the full /opt file system then normal user should not be given right permissions.
Analyse the impacts on giving the permission
Revert on the scenario.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 10:54 PM
02-13-2003 10:54 PM
Re: write permission in /opt directory
Not quit sure what you want to do, but if you want to give a user restricted permissions, you can use sam -r and then take it from there.
hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 10:54 PM
02-13-2003 10:54 PM
Re: write permission in /opt directory
simply with the "chmod" command,but always consider the effects
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 12:15 AM
02-14-2003 12:15 AM
Re: write permission in /opt directory
Try: #chmod -R +w /opt
But you must have a permission to do this.
Rgrds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 05:32 AM
02-14-2003 05:32 AM
Re: write permission in /opt directory
there several ways of doing so:
1.you may want to look at ACLs, which enable to give permissions for a specific user:
<>
This is by far the most secure way of giving write access to one user.
If you want to give write permission to a given user using the standard unix rights, you may want put the user in one specific group, then chgrp the directories you want to be writable for this user, then chmod g+w these directories.
As others in this thread have pointed out, though, you shouldn't give any user permissions on all the /opt filesystem...
Cheers,
FiX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 05:52 AM
02-14-2003 05:52 AM
Re: write permission in /opt directory
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/
Pete
Pete