Ticket #45 (closed enhancement: wontfix)
[feature-request] Easier Installer for Linux host (for single-user systems)
|Reported by:||Technologov||Owned by:|
Description (last modified by frank) (diff)
This software is used heavily for one-user Home machines, and therefore I recommend a series of steps that will optimize user-experience on single-user Linux systems, eliminate the need for adding that single user on a home machine to a "vboxusers" group. The end result will be easier installation process on Linux host (for single-user systems), without hurting security in any way.
Multi-user host systems will setup and work the same as today.
The new setup must be run from normal-user (non-root), so you get instantly added to the right group, permission are set for you, and the rest of setup will proceed as root.
Concept taken from klik client at: http://klik.atekon.de/client/install
You can run this client to understand how this works (on a guest Linux VM) - it's a setup that starts from normal user mode and then jumps into root mode in the middle to complete tasks. When jumping to root mode, it asks for root password (in the middle of setup).
- give warning when setup launched as root that it's not recommended for single-user systems, that only multi-user systems need to start setup from root.
- remember current user somehere (in /tmp ? or bash variable ?)
- enter root mode (sudo ...?)
- launch standard install process
- add current user (from /tmp ? or bash variable ?) to that group and set other (usb ?) priviledges
This is just a concept - what do you think of it?
I might try to write a bash script that does this, but I'm noob in this stuff. (so would be glad to see some Pro doing this)
This might be a small step, but a really confusing one for newbies. My VirtualBox refused to work and I had patience to tinker around and dig, I spent valueble time and want to prevent other from this, I prefer user-friendly concept of "just-works".