Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have Mandrake Linux 8.2, I'm wondering if it's possible to switch between users without compeletely logging out (like win xp).... I just want to run a program and I dont have root permissions. I'm using the console to run the program, is it possible to run it as root?
umm tnx, but I really dont get what su - does, what do you mean to get full root paths?
Umm also why is it bad to log in as root? because it warned me when I did so, it said that I can mess up with system. Why would that possibly happen?
I think (really, because I really don't know) that SU doesn't stand for SUper User like I had always thought, instead I think it stands for Switch User. That is why the su - is the command rather than simply su. And since you can do a su - <user> to change to another user. Cool, I hope that helps?
I think su stands for substitute user. Anyways the - option simulates a full login by running files like .profile and .bashrc. And it sets the current working directory to the users home directory. Usually in those .profile and .bashrc files certain environment variables get set specific to a certain user. Some of these are sometimes needed to run a program.