- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change owner to few user ids
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
Discussions
Discussions
Forums
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
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
тАО01-06-2009 05:25 AM
тАО01-06-2009 05:25 AM
Change owner to few user ids
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 05:30 AM
тАО01-06-2009 05:30 AM
Re: Change owner to few user ids
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 05:37 AM
тАО01-06-2009 05:37 AM
Re: Change owner to few user ids
do we need to take information like user ids and owners from the client in order to change owner for specific users
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 05:38 AM
тАО01-06-2009 05:38 AM
Re: Change owner to few user ids
It looks like you got some feedback from security auditing team to fix some of the issues. I might be wrong.
Anyway, we are not able to understand the task which you need to complete. If you could clarify little more details of what you need, we try to help you out...
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 05:55 AM
тАО01-06-2009 05:55 AM
Re: Change owner to few user ids
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 06:09 AM
тАО01-06-2009 06:09 AM
Re: Change owner to few user ids
Then the chown command is used to change who is the owner of a file, then again, here the system already got defined a user and its user ID. Of course we can have several user share the same user ID, in which case all of them will have the same rights, because unix only sees the user ID and not the name of the user that we specified.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 06:25 AM
тАО01-06-2009 06:25 AM
Re: Change owner to few user ids
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 06:37 AM
тАО01-06-2009 06:37 AM
Re: Change owner to few user ids
#chown
#chown username:group file/dir
#chown -R username:group dir
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 07:13 AM
тАО01-06-2009 07:13 AM
Re: Change owner to few user ids
I'm still not clear on what you want to do.
The 'chown' command changes the ownership of a FILE or DIRECTORY. I don't think this is what you want to do.
What do you mean by "change the owner of an id"? Are you looking to have a specific person listed as the ID's owner in the GECOS information for the id in /etc/password?
For example:
user1:x:1000:100:MICKEY MOUSE:/home/user1:/bin/bash
user2:x:1004:100:MINNIE MOUSE:/home/user2:/bin/bash
www:x:1009:100:GENERIC USER:/home/www:/bin/bash
Given the users above, MICKEY MOUSE is the owner of user1 and MINNIE MOUSE owns user2. No one owns the www user. Is this where you want to "assign owners to specific userids"?
For the www user would you want something like:
www:x:1009:100:DONALD DUCK:/home/www:/bin/bash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2009 12:24 AM
тАО01-07-2009 12:24 AM
Re: Change owner to few user ids
A number of user IDs (7%) had still not been assigned to specific owners. These IDs might therefore be shared by a number of staff members, with the result that it would not be possible to assign accountability for actions taken by way of such user IDs. Furthermore, if a user ID is not assigned to a specific owner no one could be held responsible for ensuring that the password is changed or that the confidentiality of the private login password is maintained.
Thank you