Giter VIP home page Giter VIP logo

Comments (8)

willemdh avatar willemdh commented on June 15, 2024 1

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.

willemdh avatar willemdh commented on June 15, 2024

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.

willemdh avatar willemdh commented on June 15, 2024

It would basically look this once it's finished:

image

Or the short version:
image

from firemotd.

dimon222 avatar dimon222 commented on June 15, 2024

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.

willemdh avatar willemdh commented on June 15, 2024

@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.

ThomDietrich avatar ThomDietrich commented on June 15, 2024

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.

willemdh avatar willemdh commented on June 15, 2024

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.

ThomDietrich avatar ThomDietrich commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.