- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: chown command execute perfectly but changes do...
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-17-2009 07:37 PM
тАО01-17-2009 07:37 PM
chown command execute perfectly but changes doesn''t come into effect
===
trng:cu1dvmx:105:20:,,,:/home/trng:/usr/bin/sh
====
/etc/group
users:20:root
=========
all the file i create gets the owner "hostmg" and group "users".
filename : try.sh
$usage:chown
$ll try.sh
$-rwxrwxrwx hostmg users 2586 11:53 try.sh
===>long listing of the file named try.sh
I tried to change the owner using the command chown as under
$chown trng try.sh
$ll try.sh
$-rwxrwxrwx hostmg users 2586 11:53 try.sh
no error has been displayed but the changes does not come into effect.
Ques#:Why the files of my login named "trng" gets the ownership of login named "hostmg" instead of "trng" ?
Ques: why the change after using the command chown has not come into effect as ll command has shown the same long listing detail as before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 08:00 PM
тАО01-17-2009 08:00 PM
Re: chown command execute perfectly but changes doesn''t come into effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 08:19 PM
тАО01-17-2009 08:19 PM
Re: chown command execute perfectly but changes doesn''t come into effect
# id hostmg
and
# id trng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 08:50 PM
тАО01-17-2009 08:50 PM
Re: chown command execute perfectly but changes doesn''t come into effect
If you get 105, it did change it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 11:50 AM
тАО01-18-2009 11:50 AM
Re: chown command execute perfectly but changes doesn''t come into effect
logins -d
You should nothing reported. If you see any usernames and IDs, they have been duplicated, and this can be a security problem as well as annoying.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 10:18 PM
тАО01-18-2009 10:18 PM
Re: chown command execute perfectly but changes doesn''t come into effect
just check the /etc/passwd for any uid conflicts for trng and hostmg