Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question.
Message
 
À
02/08/2001 12:13:11
Information générale
Forum:
Linux
Catégorie:
Distribution (called 'distros') specific issues
Divers
Thread ID:
00538911
Message ID:
00539210
Vues:
10
>Hi I have a little question that is basic, I think.
>
>I have instaled some programs LIKE Openoffice in my machine like root. But I want to know: Can I do that with a regular user and after that make this program accesible to all the other users??
>
>Regards

You can do it either way, but it is better to install as root and and ALWAYS run as user. The BIG reason is security. As user you have the ability to set read and write and execute permission to all files you own, which would include programs you installed. If your box is compromised, the cracker could overwrite your files with his own, planting trojons, etc. Programs installed as root have root as the owner and root as the group, but execute permission is given to the world (everone). So, you can run them but you can't overwrite them, rename them, etc... Read/writeable files generated by an app are usually stored in /home//.somename.

If you install apps using rpm files as root everything is taken care of for you. The first time you run the app as a user various config files, product files, or what ever, are created.

Remember, spend as little time in root as is necessary to maintain your system. Do all your work as a user.
JLK
Nebraska Dept of Revenue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform