Installing applications from root user to be reflected across all users

klokonyde

New Member
Joined
Nov 3, 2021
Messages
1
Reaction score
0
Credits
13
Hi,
I am installing some applications from binary in ubuntu 18.04. My machine has 1 root user and 5 other users. I would like to make sure that the application(s) installed in the root user should be reflected in the other users accounts as well.

Request to provide a suitable approach or explain how I can do that.

Thank you.
 


There are multiple parts to this.

First, make sure the file is executable.
This is usually done with chmod.

Second, make sure the file is owned by either them or a group that execute the file.

Third, you will likely want this in one of the "standard executable" paths.
/usr/bin is usually where vendors put most standard executables. This is sometimes a link to /bin
/usr/sbin (system binaries) is usually where executables that priveleged users such as root use.
/usr/local/bin is usually where custom (non-vendor supplied) non default executable binaries are stored.

This isn't a hard and fast rule, and you put anything anywhere, but usually these
are the default paths that most distros give their users by default.
 


Top