- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: what permissions for /etc files
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
06-12-2002 12:14 PM
06-12-2002 12:14 PM
what permissions for /etc files
What are the permissions we should set on all the /etc file to make our system more secure?
I want to have advice from people who have better understanding of permission on the /etc files before making any change.
Can you help Please?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 12:18 PM
06-12-2002 12:18 PM
Re: what permissions for /etc files
my 2 cents
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 12:24 PM
06-12-2002 12:24 PM
Re: what permissions for /etc files
Have a look at 'swverify'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 12:28 PM
06-12-2002 12:28 PM
Re: what permissions for /etc files
Get your last backup and restore /etc. Remember you have to make sure the restore will write the "OLD" permissions back.
What kind of backup do you have of /etc ???
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 12:33 PM
06-12-2002 12:33 PM
Re: what permissions for /etc files
You can restore from backup or else you can view the contents of the backup and then see the permissions there and accordingly modify.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 12:37 PM
06-12-2002 12:37 PM
Re: what permissions for /etc files
If you just altered /etc - how did perms on /dev/kmem get changed?
You better check *both* /etc AND /dev.
Do you have another HP system with which to compare?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 05:14 PM
06-12-2002 05:14 PM
Re: what permissions for /etc files
/etc is a crucial directory as many very important config files and directories are stored there. But more important, there are a lot of 777 permissions n /etc, an indication that a severe security risk exists: umask has never been set. Wide open permissions means that nothing inside the file or directory is protected and the contents should be assumed to have been corrupted at some time in the past.
swverify takes a long time to run and to look at /etc, virtually every installed product as well as HP-UX subsystems must be checked. I think you will need a complete health check as soon as possible.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 07:00 AM
06-14-2002 07:00 AM
Re: what permissions for /etc files
Thank you all for your help. I restored the etc files from backup using sam on a temp directory and listed the files and compare the permissions.
About dev/kmem it is strange, once the changes were made on the /etc files our users couldn't access the db anymore, getting error message cannot open /dev/kmem: permission denied. That issue has been reported in this forum. I was able to solve the kmem issue by changing the permission on /usr/sbin/lanscan with chmod 4555.
Again thanks
od