- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to give access to root owned files without roo...
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
11-17-2003 04:54 AM
11-17-2003 04:54 AM
HP-UX 11.0
We want to give access to a certain directory tree which has files owned by root (uid:gid)
to a user account that is not root.
We basically want someone to login as a non-root user but have access (r/w) to only one directory of files owned by root.
(We have a shadow password file setup from running bastille).
Is this possible? Can "SAM" do this?
Do we need sudo or some other method?
10 points to any good answer.
Thank you
Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 04:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 05:10 AM
11-17-2003 05:10 AM
Re: How to give access to root owned files without root login?
(create other user with same settings of root)
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 05:14 AM
11-17-2003 05:14 AM
Re: How to give access to root owned files without root login?
While doing what Bruno suggests will work, it will also end up creating a root equivalent with all the power of root. Not only is this dangerous, it doesn't really match your requirement.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 05:17 AM
11-17-2003 05:17 AM
Re: How to give access to root owned files without root login?
Refer to the foll. docs for info.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/26-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/26-toc.html&searchterms=access%7cto%7croot%7cowned%7cfiles%7cwithout%7croot%7clogin%7cgive&queryid=20031117-110907
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/67-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/67-toc.html&searchterms=access%7cto%7croot%7cowned%7cfiles%7cwithout%7croot%7clogin%7cgive&queryid=20031117-110907
Also, I do not think you can use SAM to do this. SAM is yet to support the shadow password functionality.
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 05:31 AM
11-17-2003 05:31 AM
Re: How to give access to root owned files without root login?
I am confused word same with word some....
Sorry (i speak english very little)!
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 06:20 AM
11-17-2003 06:20 AM
Re: How to give access to root owned files without root login?
Do they need to access the files from Unix?
If not, why not try samba with a username.map and share that directory.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 12:25 AM
11-19-2003 12:25 AM
Re: How to give access to root owned files without root login?
Regulate permissions with chmod, chown,chgrp
alternativley use sudo or upm
Keith