Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Skipping the TUI menu on login

    Firewalling
    tui menu bypass chsh etcrc.initial tcsh
    1
    1
    34
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tblancher last edited by

      Re: Allowing ssh straight to the shell

      I found a better way, rather than adding a nonstandard user (not admin or root), just change the shell for your target user. So, for admin, issue the command (as root):

      chsh -s /bin/tcsh admin

      The admin account has as its default shell /etc/rc.initial, which prints the menu and requisite prompt. Changing the account's default shell bypasses the menu quite cleanly. To restore the menu:

      chsh -s /etc/rc.initial admin

      ...and you'll get the TUI menu on initial login.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post