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.
I just installed Ubuntu 7.10 server (no GUI). I created one user. What do I do next? If this was Windows, I might make the user a member of the admin group or power users group, tweak the profile settings, and that kind of stuff.
What do I do on Linux to make this user account usable for completing the setup and installation tasks I'll need to do?
Last edited by Mountain; 11-07-2007 at 04:34 PM.
"usermod -g" sets a user's primary group. gpasswd is good for adding a user to additional groups.
For starters, I suggest "man 5 passwd", "man 5 shadow" and "man 5 group" to get the most basic info. The "whatis" and "apropos" commands are pretty handy, and if you're new to linux in general you should get comfortable with them and the man pages.
For a quick summary, user credentials are stored in /etc/passwd (world-readable, defines login, userid, primary group membership, shell, some other meta-info, but unintuitively doesn't include password hashes despite the name), /etc/shadow (stores just username, uid, password hash and some other password meta-info you probably don't care about right now, definitely should be readable only by root), and /etc/group (defines what groups exist, and what additional groups the users are in). You should probably be somewhat familiar with the contents of all three files.
As far as learning a lot about a lot, honestly I'd recommend either O'reilley's "Essential System Administration" ... or if you're feeling in more of a "free as in beer" mood, consider reading over the linux documentation project's sysadmin guide.