Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
well the time is coming where Im using Linux on my machines I use daily... For the past year ive just been learning Linux and just trying out new things so ive always logged in as root since I didnt care if I F*ed over the hard drive since I was just learning... But when I reformat the comps in the next few days, I want to make a user account so after I have everything all set I dont need to worry about accidentally killijng the comp as ill have important data...
I just have some general questions since ive never made user accouhnts before....
do I make all my configurations like what services to boot and all of the wireless configurations and just any settings like that as root and then if i log into a user account wil it then effect all of the user acocunts?
And pretty much any other information that you would feel migght be beneficial to me knowing with user acocunts would be great... thanks
The man page is part of it, but doesn't cover everything. Neither will I, obviously, but there's a hierarchy of configuration, in a sense. Root establishes global policies through editing the files in /etc and so on. Then comes the user configuration in the dotfiles in $HOME, and then command line options. Anything root sets will apply to all users unless overridden by the normal user. But *what* the normal user can override is limited. So, yes, you'd establish the default runlevel as root and it would effect all users, for instance. But the user can pick his shell or GUI unless root explicitly prevents him from doing so. But the user can't start or stop key services owned by root unless root foolishly exlicitly allows him to do so. That's a simplistic description, but I think was what you were wondering about. So administer the *machine* as root and administer your account as that user.
Yeah - type 'su' and you'll be prompted for a password. Type 'su -' if you want it akin to a root login. Sorry, I dunno about graphical configuration, but most of those can be invoked from the command line. Once the GUI's up you can configure graphically.
Well, it's more than that - /etc/profile, bash_logout, and so on are executed, and the general environment changes. DISPLAY, EDITOR, LOGNAME and more can change. It's still not a pure root login though, in that pieces of your user environment persist. And both su and su - can get the sbins on the path, depending on system configuration; su just doesn't get the full path - any miscellaneous initialization scripts or root's startups.
Also like wine makes the hidden folder .wine in the root folder where theres the drive_c and all of the wine programs installed. Should I install all of the ported programs under the user account if i want to access it when im nto in root? So it would be installed in user folder ./wine or are the wine programs distributed amongst the accounts. So the same would apply for programs like thunderbird and such with folders I usually edit in root... Also if I install RPms for like XMMS and everything as root theres goign to be access in all of the accounts right? I just have all of the default permissions for them right now.
Not sure I'm following that, and I don't use wine. In dosemu, I installed dos apps under ~/.dosemu or wherever it was, but I have no need to use those as root.
Um, as far as the permissions on things, you install as root, right. Then you usually have execute permission to the binaries as user. But you can only edit the system-wide configs as root - stuff in /etc or /usr/share or wherever. But again, there's no need to do that unless you're actually administering a multi-user system or if it's something like setting the runlevel for the machine. In terms of configuring your own apps, you get dotfiles and directories (like ~/.wine, I guess) where you can do all the configuration you need. If, for instance - well, as an example, I usually use Ice and it generates several config files in ~/.icewm. But the themes are in /usr/local/share/icewm/themes/. I don't have write permission to that dir as user, but copying ain't writing - so I copy a theme to ~/.icewm/themes and edit it there. No root required.
Plus, if I utterly screw up the file, I've got the original still in /usr/local/share.
Makes sense? Or did I completely miss your question?
I think i might have understood that. I guess im just trying to figure out what to do in root and what to do as user. I think ill just be able to figure it out as I go, I'm just that type of person I like to figure it all out ahead of time in my head as i've never done a user account n linux before.