Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
i recently installed mandrake linux 9.2 on my computer, i set up a user account called 'james' with a password and i set up the root user with no password (im the only person with access to the computer), when i try installing some programs it tries installing to 'file:/usr/local' but when i click continue or next on the installation program it says.. Access is denied to whatever23432 it also occurs when i try installing programs outside file:/home/james, i want to be able to install programs anyway from my user james account, help required asap.. thanks in advance.
You should only log into the root account when you need to do system admin tasks (such as installing software). The reason the root account exists is so you (as the normal user) can't accidentaly alter any essential system files or settings. Linux files and directories all have user read-write-execute permissions set; the most important files can only be accessed by root, others have various settings. It's a great security feature, because it guards against your own accidental screw-ups, against other people changing system settings, and against malicious software you may happen to download. You can set your root password from the terminal (as root) with:
Code:
[user@localhost /] $ su root
[root@localhost /] # passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@localhost /] # su user
so when i want to install programs from my user account, i could log into the root account via the terminal, start the program installation, make the directory in a location the program installer specifies and continue the installation??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.