Hi,
Yes, I know that I should use the adduser utility. But my goal is
to try understanding what I do, so pls help me with following problem:
I wanna add user marge on my redhat 5.0(kernel 2.0.32) box. 
I went it /etc/passwd and added followin line:
marge::500:500:Marge Home:/home/marge:/bin/bash,
Then I went in /etc/group and added marge to the line users::100:,
so it became : 
users::100:marge
In /etc/group, I also added followin line:
marge::500:marge.
Of course I did /bin/mkdir /home/marge..but when I went settin the passwd
of marge with command passwd marge, it asks me twice for the
unix and confirm new unix passwd before it gives me error:
passwd:USER NOT KNOWN FOR THE UNDERLYING AUTHENTIFICATION MODULE.
I fought back, and /bin/chown -R marge /home/marge, and /bin/chgrp -R marge
/home/marge.
It gave error could not found marge.
So, I figured there s a problem in /etc/passwd and /etc/group and
played..played around by getting out marge from users::100:marge for
ie..and just living in /etc/group the  line:
marge::500:marge.
or did the reverse thing..even checked if /home/marge existed..and yes,
/home/marge exists with the /etc/skel ccomponents inside such as
.bashrc..etc..and all the xpected stuuff..but I still got same error.

Thanks for time and sonsideration

Sony

Reply via email to