geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips
 parent


Re: TIP: Secure root with autologout
by Santhosh Joseph on Tuesday February 26, @02:26AM

With bash shell, autologout can be enabled by setting the environment variable "TMOUT" :

export TMOUT=x where x is in SECONDS

Related Links
  • Articles on Security and Firewalls
  • Also by Santhosh Joseph
  • Contact author

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Re: TIP: Secure root with autologout
    by Derrek on Monday August 06, @01:07PM

    sh, ash, bash, bsh, ksh all use TMOUT in /etc/profile (export TMOUT=) csh and tcsh use /etc/csh.cshrc or /etc/csh.login (set autologout=)

    Just tested this on Linux.

    -Derrek


    [ Add a Reply to this ]
    • Re: TIP: Secure root with autologout
      by Derrek on Monday August 06, @01:08PM

      Also,

      TNOUT value is in seconds. autologout value is in minutes.

      -Derrek


      [ Reply to this ]
      • Re: TIP: Secure root with autologout
        by aixadmin on Wednesday December 02, @06:21AM

        to display the TMOUT value from ksh we can use export $TMOUT.. any idea how can we display env variables in csh ?


        [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]