Search
Search titles only
By:
Search titles only
By:
Forums
New posts
Search forums
What's new
New posts
Latest activity
Feedback
View Statistics
Members
Current visitors
Buy Sell Trade
WTB
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Forums
Technology
Programming
Script to monitor Machine Health (Project Doctortux) Input needed.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="viridian" data-source="post: 1159792" data-attributes="member: 21209"><p>This is nice! Also other suggestions</p><p></p><p>- Minor: kernel is spelled kernal in the script </p><p></p><p>- Security: At the beginning of the script you probably want to define the absolute paths of the commands being used e.g. TPUT = /bin/tput (or wherever the path is). This is to ensure that similarly named malicious files in the current path cannot be run. It's generally a good practice [citation needed] ;-)</p><p></p><p>- Security: Dissuade the user from running it as root, have a small check that quits if it is running as root. </p><p></p><p>These are minor quibbles which would be good to have since (I assume) that this script will be continuously developed and more cooler features will be added in future.</p></blockquote><p></p>
[QUOTE="viridian, post: 1159792, member: 21209"] This is nice! Also other suggestions - Minor: kernel is spelled kernal in the script - Security: At the beginning of the script you probably want to define the absolute paths of the commands being used e.g. TPUT = /bin/tput (or wherever the path is). This is to ensure that similarly named malicious files in the current path cannot be run. It's generally a good practice [citation needed] ;-) - Security: Dissuade the user from running it as root, have a small check that quits if it is running as root. These are minor quibbles which would be good to have since (I assume) that this script will be continuously developed and more cooler features will be added in future. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Technology
Programming
Script to monitor Machine Health (Project Doctortux) Input needed.
Top
Bottom