Interesting Addition to Tiger when executing sudo commands in Terminal

Discussion in 'macOS' started by NATO, May 1, 2005.

  1. NATO macrumors 68000

    NATO

    Joined:
    Feb 14, 2005
    Location:
    Northern Ireland
    #1
    It seems Apple has added a little message in Tiger when sudo commands are entered via Terminal.

    I was entering a sudo command into Terminal this evening and when I pressed return, I was greeted by the following message:


    We trust you have received the usual lecture from the local System
    Administrator. It usually boils down to these three things:
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
    Password:



    I think this is quite a nice touch, although I imagine it'll wear a bit thin as time goes by :rolleyes:
     
  2. iGary Guest

    iGary

    Joined:
    May 26, 2004
    Location:
    Randy's House
    #2
     
  3. mslifkin macrumors regular

    mslifkin

    Joined:
    May 14, 2004
    Location:
    New Jersey
    #3
    That was in Panther as well. You saw it the first time you ran Sudo, then never again.
     
  4. trainguy77 macrumors 68040

    Joined:
    Nov 13, 2003
    #4
    This message also pops up every time you do a remote shut down in terminal. :)
     
  5. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #5
    I get a different message when I do shutdown from terminal -- even when I'm logged in (term only) as root on top of my account. The message I get is something along the obvious lines of, "The system is about to shut down, close all applications."

    But anyway, has anyone tried doing update_prebinding? It seems to me like the format of the output has changed. I don't seem to get the summary at the end anymore, which tells me how many files successfully and unsuccessfully prebound. :(
     
  6. trainguy77 macrumors 68040

    Joined:
    Nov 13, 2003
    #6
    I mean when i am at a different machine, then the one i am shutting down.
     
  7. iGary Guest

    iGary

    Joined:
    May 26, 2004
    Location:
    Randy's House
    #7
    Ditto. :rolleyes:
     
  8. mduser63 macrumors 68040

    mduser63

    Joined:
    Nov 9, 2004
    Location:
    Salt Lake City, UT
    #8
    AFAIK, this is something built into sudo, not anything Apple specific. I've never seen the third one in the list before though (the Spiderman quote), maybe Apple added that, or maybe the sudo developers put it in.
     
  9. dr_lha macrumors 68000

    Joined:
    Oct 8, 2003
    #9
    Indeed. My linux box at work says the same thing when you first run sudo. Although I don't recall if the Spiderman quote is in there.
     
  10. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #10
    I think I've seen it in Linux too.

    Anyone have any feedback on the update_prebindings output?
     
  11. mduser63 macrumors 68040

    mduser63

    Joined:
    Nov 9, 2004
    Location:
    Salt Lake City, UT
  12. NATO thread starter macrumors 68000

    NATO

    Joined:
    Feb 14, 2005
    Location:
    Northern Ireland
    #12
    I just thought it was kinda cool :cool: I'm still quite new to Terminal, but I did use the occasional sudo command in Panther and never saw that message before. First time I tried it in Tiger, it definitely brought a smile :)
     

Share This Page