-1

I have linux machine red-hat 5.1

I want to write ksh/bash script that perform the following

  1. Each time that someone login to the linux machine

    then he will get the following message on the screen - after entering login/password

        PLEASE DONT DO anything on this Linux machine !!!!
    

Please advice how to do that ? And where to put the ksh/bash script ?

2
  • why I get -1 - what wrong on my Question -:( -:( -:(
    – yael
    Jun 25, 2012 at 13:02
  • Probably not professional enough question. Jun 26, 2012 at 13:37

1 Answer 1

4

Edit the /etc/motd file, no script needed.

1
  • If the users are connecting via SSH, we'll need to make sure PrintMotd yes is set in sshd_config yes? Jun 25, 2012 at 9:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .