HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change permisions to .profile file
Operating System - HP-UX
1828218
Members
1840
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-05-2003 08:39 AM
11-05-2003 08:39 AM
change permisions to .profile file
Hi. i am scaning my systems with HP-UX and i want to change owner to .profile and /etc/profile. Actually are bin:bin and i want root:root for security. Can i do that? i wont hve futures problems with HP-Ux?
Thanks
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 08:43 AM
11-05-2003 08:43 AM
Re: change permisions to .profile file
I'm not sure there will be a security gain, and I've never changed perms on a profile.
As root you should have the ability to run chown on any file you like, including profiles.
chown root /etc/profile
However, if this were to cause a problem, it could potentialy be huge. I'd try on a test system 1st.
As root you should have the ability to run chown on any file you like, including profiles.
chown root /etc/profile
However, if this were to cause a problem, it could potentialy be huge. I'd try on a test system 1st.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 08:44 AM
11-05-2003 08:44 AM
Re: change permisions to .profile file
My /etc/profile is owned by bin:bin and the permissions are -r--r--r--. You really won't get any more secure by changeing the owner. Having bin is probably more secure since you can't log in as bin directly, although root can still change the file. If the permissions on /etc/profile are anything other than -r--r--r-- then you should change it. There's no reason for anyone to have write access to it.
root's .profile file should be owned by root and the permissions should really be -r--------.
root's .profile file should be owned by root and the permissions should really be -r--------.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 08:44 AM
11-05-2003 08:44 AM
Re: change permisions to .profile file
forgot the
chgrp root /etc/profile
chgrp root /etc/profile
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP