Ivan,
Missed most of the thread, but,

Log in as root (assuming this works) and
prompt# telnet localhost <cr>

Login as one of the users. (can you?)
If not, look for a couple of things:

prompt# grep username /etc/passwd
username:2EI4ftvf8MEKc:505:505:username Name:/home/username:/bin/bash

If your using shadow passwords:
username:x:505:505:username Name:/home/username:/bin/bash

prompt# grep username /etc/group
username::505:username

prompt# ls -ald /home/username
drwxr-xr-x  34 username username     4096 Apr 19 13:02 /home/username

login will check the password of "username" and go through /etc/passwd,
/etc/shadow (if shadowed), /etc/group. Then after finding login
permission "OK", will get the /home/username from /etc/passwd and the
Shell to use also. In this case, (bash) the files,
/home/username/.bash_profile and /home/username/.bashrc and 
/home/username/.login will be parsed
and the username will be set up with a prompt or if xdm login, 
/home/username/.Xclients (maybe /home/username/.xsession) will be
parsed if xdm is set up that way.

In short, lots of files are read and acted upon before/when a user
logs in.

Permissions are a big part of those files also. A user has to be able to
"read and execute" a file as in the /home/username example above. That 
is his/her "Home Directory".

If users can log in from telnet but not from xdm, and IF you can,
change your runlevel to "runlevel 3"

This is in /etc/inittab
id:5:initdefault:
# id:3:initdefault:

Runlevel 3 does not present the xdm login, so when you log in at
the console, you can type "startx" to go into X.

Track you trouble down 1 step at a time.
Get a shell prompt first. Then work your way up into X.

There's lots more involved, but these are the basics.

Good Luck,
Rick

On Sun, 19 Apr 1998, ivan jose wrote:

> 
> I followed all the suggestions I
> received, but all the users that
> I creat can not log in my machine.
> Whenever I try to enter as a user
> the X simply restart and in the
> prompt mode appears briefly the
> message: "not directory /home/<username>".
> What can I do? Please someone answer me.
> Thanks!
> 
> 
> 
> ==
> ========================
> * Ivan Jose Varzinczak *
>  P.E.T.-Informatica-UFPR
>  Curitiba-Parana-Brasil
> ========================
> "WINDOWS: The first Plug-and-PRAY operating system"
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 

--
Rick L. Mantooth        [EMAIL PROTECTED]
http://www.why.net/users/rickdman/index.html
I Live With Fear and Sometimes She Lets Me Go Fishing!


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to