Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: aplannan on April 29, 2011, 09:32:46 AM

Title: microcore boot tmux as tc intead of as root
Post by: aplannan 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
Title: Re: microcore boot tmux as tc intead of as root
Post by: gutmensch on April 29, 2011, 09:48:09 AM
One option:
Code: [Select]
# su -c 'tmux' tc
Title: Re: microcore boot tmux as tc intead of as root
Post by: aplannan on April 29, 2011, 11:52:07 AM
Thank you, works great, I would mark this solved if I knew how!
Title: Re: microcore boot tmux as tc intead of as root
Post by: tinypoodle on April 29, 2011, 12:04:19 PM
Hitting "Modify" button lets you modify any of your own posts, including "subject"   ;)