Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I have a bash script that sets up my tmux session how I like it the first time I log in somewhere.

I have a bash script that sets up my tmux session how I like it the first time I log in somewhere.

Scheduled Pinned Locked Moved Uncategorized
1 Posts 1 Posters 0 Views
  • 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.
  • grifferz@social.bitfolk.comG This user is from outside of this forum
    grifferz@social.bitfolk.comG This user is from outside of this forum
    grifferz@social.bitfolk.com
    wrote last edited by
    #1

    I have a bash script that sets up my tmux session how I like it the first time I log in somewhere. Some of those commends require to be run as root, so I use sudo to do that. But sudo has a per-tty cache of when you last typed the password, so every single tmux window that does a root-thing would require me to switch to it and type my password in.

    Can you think of a way around this, so I just type password once?

    NOTE: I can't configure sudo to not use per-tty cache

    1 Reply Last reply
    1
    0
    • drajt@fosstodon.orgD drajt@fosstodon.org shared this topic
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups