- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user permissions
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
10-09-2002 01:40 PM
10-09-2002 01:40 PM
user permissions
I have user "Mike" and want him to have the same owner permissions as user "John". I know there is an easy way to do this, but I don't remember how.
That way, Mike and John can have different user environments, but can modify each other's files. Group permission is not enough because I have a number of users in the same group, but Mike and John need to be able to edit the same files.
Can someone help me?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 02:04 PM
10-09-2002 02:04 PM
Re: user permissions
groupadd -g gid NEWGROUP
now make Mike and John members of this group as secondary to their primary group
usermod -G NEWGROUP Mike
usermod -G NEWGROUP John
then any files they need to share can be owned by them and this NEWGROUP
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 02:05 PM
10-09-2002 02:05 PM
Re: user permissions
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 02:07 PM
10-09-2002 02:07 PM
Re: user permissions
What you would do is assign the SAME UID (User ID) to BOTH users. You can give them separate primary GIDs (Group IDs) if you wish.
Say Mike is already on the system with UID=1105, when you create John give him UID=1105 as well.
They then become essentially the same user.
NOTE: DO NOT DO THIS WITH THE USER root WITH ANYBODY - root UID=0.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 02:12 PM
10-09-2002 02:12 PM
Re: user permissions
same groups
ACL's if necessary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 02:48 PM
10-09-2002 02:48 PM
Re: user permissions
We face the same type problem with the application groups always wanting "generic" accounts.....
Allan - Michael is entirely correct - this is a slippery slope to go down. Security-wise the system will see no difference between these users. So you've been warned......
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 07:03 AM
10-10-2002 07:03 AM
Re: user permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 11:52 AM
10-10-2002 11:52 AM
Re: user permissions
Some programs use UID and not USERNAME, so will get confused and start failing. On top of failing programs add the security risks and bickering when someone deletes someone elses stuff and you have a nightmare. IMHO if your sharing UID's you may as well give them both the same ID because that is what it is. Just the illusion that they are separate as there are 2 ways to log into the same account.
Remember that sticky bits are your friends for shared files and applications, and with good sysadmin skills you prolly dont need ACL's.
Regards,
Shannon