Comments (8)
The use case I'm seeing for me, is that I could for example add the primary and secondary contact for some of our servers. I'll keep this issue open untill a 'free message' banner is implemented.
from firemotd.
Or a smaller version:
Unauthorized access to this system is forbidden and will be prosecuted by law. By accessing this system, you agree that your actions may be monitored if unauthorized usage is suspected.
from firemotd.
It would basically look this once it's finished:
from firemotd.
I think saving in separate file along with FireMotD distribution or inside FireMotD.json is the way to go. This is basically because this data is almost never going to be changed.
Also short version looks more friendly. We can also try change color to make it more visible.
from firemotd.
@dimon222 Thanks for your input. In the meantime, I discussed this with my security officer and we decided that the banner should be shown pre-login. As otherwise the consent is implicit.
Therefore I won't go through with this implementation for now. We will add a banner file in /etc/ssh and set the banner directive in sshd_config.
from firemotd.
That sounds like a good plan!
As for the idea to show some free text inside FireMotD: I still like the idea as a feature and would vote to make this an optional parameter in FireMotD.json. The reasons are simple:
- FireMotD.json is the place for data used by FireMotD - check
- The user can edit the file easily - check
- The user is not forced to create or manage yet another file
One downside is, that the user now has to manually edit the json file, introducing the chance of leaving a broken json file. As this is a one time change I don't think this is a critical issue. Another thing to consider: All other data in the json file is retrieved from the system and can hence be deleted or modified without risk. With the banner in place, that's not valid any longer.
from firemotd.
I'm not sure if you read my latest post on this topic? But As I have the code ready to add an extra block, I'll reopen. Could take some time though before it gets into master.
from firemotd.
That sounds like a good plan!
...was directed at your last post. I'm doing (or did, not sure) a similar thing with sshd_config.
No hurries. Not sure if I need this feature personally. I did already add a banner message to the .bash_profile of my system (openHABian).
from firemotd.
Related Issues (20)
- FireMotD v9.16.180717 fails to work after upgrading from v8.08.171007 HOT 5
- Slowness of themes based on theme files HOT 3
- Orange theme not there anymore HOT 1
- Advanced info only available through the 'Original' theme HOT 10
- after upgrade turn FireMotD slow on show up HOT 13
- Makefile issue line 42 HOT 3
- Error while reading the PostgreSQL version HOT 1
- Shellcheck Compliance HOT 2
- Kibana Version cache hardcoded HOT 1
- hostname is stil hardcoded in cache
- Feature request: Temperature reporting
- Feature Request: display available memory instead of used+buffers/cache
- Auto detect dnf
- Ubuntu 20.04 HOT 9
- Unable to parse ip
- "Uptime" gives the uptime at point in time of previous login HOT 1
- FireMotD takes very long to render system info HOT 11
- Highlighting noteworthy data HOT 3
- make uninstall do not remove the cron job HOT 4
- Fedora 27 - Unable to parse ip. Please debug HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firemotd.