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.
Not 100% sure I understand the problem here, but I'll try to help.
First, try entering this command as root:
# useradd -g users -d /home/test test
if that works, it will create the user test, and this user will get a new home directory - /home/test. Now, you can remove that user with the following...
# userdel test
sorry, forgot to mention that the new user's primary group in this example will be the "users" group. To change the group for the user, change the part after the "-g" in the command. To change the user's name, change the very LAST word in the command (test in this example) to whatever you want the user's name to be. Then change the firectory after /home/ to whatever you want the new user's home directory to be, and it will create that directory for you.
If these give you "command not found" it means you need to enter them like this...
# /usr/sbin/useradd -g users -d /home/test test
# /usr/sbin/userdel test
NOw, keep in mind that you don't type the "#" symbol at the beginning of those commands, that just means you are entering them as root.
Let me know if you have any more problems...and good luck!
Last edited by jeffreybluml; 12-05-2004 at 12:50 PM.