WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: microcore boot tmux as tc intead of as root  (Read 2956 times)

Offline aplannan

  • Jr. Member
  • **
  • Posts: 70
microcore boot tmux as tc intead of as root
« on: April 29, 2011, 09:32:46 AM »
Hi,
I am trying to get tmux to start on it's own when I boot into microcore. I built a tmux extention which works fine, and I added :

tmux

to my bootsync.sh. It starts tmux, but as root, ignoring the config file in /home/tc. How can I get it to launch tmux as tc?

Thanks in advance for any help.
Andy

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: microcore boot tmux as tc intead of as root
« Reply #1 on: April 29, 2011, 09:48:09 AM »
One option:
Code: [Select]
# su -c 'tmux' tc
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline aplannan

  • Jr. Member
  • **
  • Posts: 70
Re: microcore boot tmux as tc intead of as root
« Reply #2 on: April 29, 2011, 11:52:07 AM »
Thank you, works great, I would mark this solved if I knew how!

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: microcore boot tmux as tc intead of as root
« Reply #3 on: April 29, 2011, 12:04:19 PM »
Hitting "Modify" button lets you modify any of your own posts, including "subject"   ;) 
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)