How do i install packages for Kali on a 2nd. account on same debian install ?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do i install packages for Kali on a 2nd. account on same debian install ?
There some things in kali i want to take a look at but want to install on a 2nd. user account i created as admin / Not the primary user i use everyday.
Same box only 1 os & hdd but 2 admin users.
If you are installing a program using the package manager then it does not matter because the package's installation scripts determines where all the pieces go i.e permissions, menu, configuration files etc. etc. Otherwise you need to modify the scripts but depending on the program you need to recompile the code if there are no command line options to look at configuration files in a non standard location.
If you are installing from source code then anything is possible.
you install apps the very same way using, sudo apt install <pkg>
I already added the 2nd. user from groups app on main user 1 i did not use sudo as you described so how will this fact affect things ? I did not see any provision for a separate root pw for the 2nd. user but does it actually matter as one root is enough for separate script install to 2nd. user ?
sudo = root privileges, like a proxy. if you just want to use a separate user to play around with apps then just as you did create one, and give that user the sudo group or wheel group whichever one that systems uses to proxy a user to have root privileges.
root is the one user that is allowed to install and remove software on the system, within the system.
regardless of which user you have using the app it is still on the system as a whole. do you know about the applications config files and where they are usually kept for each user?
this way you can delete them too if you do not want them in the users home.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.