Ow, they are very basic user creation, permission updates, and a way to ask for the sudo password in a new terminal window, so I can use this script directly from
nautilus, i.e., without having to open a new terminal. For example: (use it directly from the context menu)
Thanks for the suggestion! I did not know about that stuff. It seems very promising. I just get scared about how would this affect the application performance, and how it would be configured, i.e., user access, etc. For now, I already setup this. Some other day, when I feel like experimenting with something new, I would definitely try it on.
I am doing that. I am just not using
sudo -u but
sudo runuser, which should just do the same thing. The other things on the scripts are:
- Automatic user creation
- Automatic configuration and update of user groups on every start up
- And I ask for the sudo password in a terminal window before allowing you do such nasty things, i.e, run a program on another user account.
- And share the same
Data directory across all builds. This last one, was not required, I could just let them create the standard
~/.config/sublime-text-3/ directory, but I did it just to have some fun with the
Well, I already got the script working, and I have no complaints about it, except that I need to add everything in my home folder as accessible for my user group, and vice-versa, which is very nasty. Then, may be if I feel like someday, I may open a issue for that. Right now, I got a much bigger issue to attack, there is a week I am writing a memory leaking issue with Sublime Text for Linux (but it does not affect Windows). This one is really pissing me off and it is very hard to create reproducible ways to replicate it. And just now, I figured I have to rewrite everything I have so far, because it is outdated by my new findings.