HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Simple & quick: why does /dev/console reset?
Operating System - HP-UX
1834931
Members
2543
Online
110071
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
06-29-2004 04:46 AM
06-29-2004 04:46 AM
Simple & quick: why does /dev/console reset?
If the perms for /dev/console are changed away from world-writeable, they get reset by the system during reboot. I think this is true for other Unix platforms also. So why does this come up as a security concern, if the manufacturers default this setting to world-writeable? Is the only way to change it putting a script into startup?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 04:53 AM
06-29-2004 04:53 AM
Re: Simple & quick: why does /dev/console reset?
Its a security concern because a non-root user could conceivably get root access by accessing the file. I can't/won't explain how.
The system sets it to world write access so that processes that need to write to it can do so. In startup if you fire up oracle you do this with a su - c "oracle command" Thats a non-root user, but messages from that process need to go to the console.
Hope this doesn't muddle it up.
SEP
The system sets it to world write access so that processes that need to write to it can do so. In startup if you fire up oracle you do this with a su - c "oracle command" Thats a non-root user, but messages from that process need to go to the console.
Hope this doesn't muddle it up.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 05:01 AM
06-29-2004 05:01 AM
Re: Simple & quick: why does /dev/console reset?
The console (and especially for legacy programs) is sort of a dumping ground for error messages. It is common for daemons to simply write to /dev/console. Being able to write to /dev/console is really no big deal. About the worst that could happen is a spurious "Login/passwd" message could be written on the console and an unwary user might respond. However, for any real damage to be done, the process would need to be able to read from /dev/console --- it's the non-root read permissions that are dangerous.
If it ain't broke, I can fix that.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP