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.
Thnx for Ur Useful reply......
I got little bit success ... I followed you... as u mentioned.... but amazingly this error was coming and not able to login just look at once...
' Could not open or create the file "/home/zameer/.gconf-test-locking file" ..
this indicates there may be a problem with your configuration , as many as
programs will need to create files in your home directory... the error was
"permission denied" ' .Error no . 13
The example you gave listed /home/zameer3 as the home directory. So I don't know why you're getting an error for /home/zameer unless you executed a different command than what you listed previously.
Some things to check though:
A) does the /home/zameer directory exist? If not, create it
B) does the user zameer have ownership and write permissions on the directory? If you're not sure, execute these commands: chown zameer /home/zameer
chmod 700 /home/zameer
I used " add user " command to create user zameer6 (this is the name of the user which i created so far) ... and i update the password with passwd command as u metioned earlier... then i tried to login with zameer6... it asks
username : zameer6
then it asks
password : icoachmath
then that waiting process was came and i got this error .......
You misunderstand, I want to see the command you typed in to create the user. I want you to copy the command exactly like you typed into the computer, and put in in a reply to this thread. I want to see each command you type from the point of creating a user to logging in.
well ... helmet... sorry...
this is the command which i used to create .... i create user zameer6...
[root@redhat root]# adduser zameer6 -g 100 -d /home/zameer6 -s /bin/bash
and i checked the same command to create user zameer8 and done same process as before... i got same problem with this user also... i have to check with the user which i create from "users and groups" option...
Well, you still haven't told me how you're logging in: into a graphical environment or text, and you also didn't list every command from creating the user to logging in.
That aside, all I can do is offer this sequence of commands to create a user manually: groupadd zameer99
mkdir -p /home/zameer99
chmod 777 /home/zameer99
useradd -d /home/zameer99 -g zameer99 -s /bin/bash zameer99
chown -R zameer99:zameer99 /home/zameer99
chmod 770 /home/zameer99
passwd zameer99 enter password
Then completely log out of the system (perhaps even reboot). Then try logging in with zameer99. If that does not get past your error message then my hands are tied. I don't know enough about what programs you're running or what you're trying to do to give any more advice with one exception:
Use Red Hat's User/Group Manager to create the user if you still have problems. If that fails, then there is something wrong with some configuration file in your system.
If so, when using adduser do not add the rest of the information to the command, just type adduser and then hit enter. You will then be asked a series of questions about the user. If you want to do it in one command from the command line use useradd followed by the option.
well helmet..... i tried entirely in text environment only..before text environment i create one user GUI mode which works fine ... now that user also not working ... i am getting the same problem... i am looking hell here... one more thing u know... after logging i found a new problem my entire home directory was disappear... then i created a new home directory...........
anywhere i am going to do the process which u metion now.... lets check what's happened....
thanx for u r patience and kind reply and interesting in my problem...
well Helmet.... after restarting and with u r coding i solved it.... still me in confused...
what's happened ???????? me in dilemma.... U great ..... could u plz explain what's happened with my code....? which mistake caused for this hell in my code...... i really appreciate if u explain me Ur code line by line... i am comparing Ur code ... iam not understanding in the follwowing line only ...
useradd -d /home/zameer99 -g zameer99 -s /bin/bash zameer99
after bash u used zameer99............... why?
me using default group 100 ...is this causes the entire hell in my code...
could you please explain about u r code ....if u don't mind line by line... i am in tired position .....i didn't forget Ur help in m life....