Rick L. Mantooth wrote:
> Waitaminute,
> When you/whomever added the users, did you by chance add
> them with control-panel?
>
Yes and no. I added some users with control-panel andanothers using adduser, but
both methods failed.
> Have you (as root) issued the command:
>
> prompt# passwd username
>
> and given them good passwords.
>
> On Sun, 19 Apr 1998, Ivan Jose Varzinczak wrote:
>
> >
> >
> > Rick L. Mantooth wrote:
> >
> > > 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?)
> >
> > No.
> >
> Suspicion noted at beginning of post!
>
> > > If not, look for a couple of things:
> > >
> > > prompt# grep username /etc/passwd
> > > username:2EI4ftvf8MEKc:505:505:username Name:/home/username:/bin/bash
> > >
> >
> > OK.
> >
> > > If your using shadow passwords:
> > > username:x:505:505:username Name:/home/username:/bin/bash
> > >
> >
> > I do not use shadow passwords.
> >
> > > prompt# grep username /etc/group
> > > username::505:username
> > >
> >
> > OK.
> >
> > > prompt# ls -ald /home/username
> > > drwxr-xr-x 34 username username 4096 Apr 19 13:02 /home/username
> > >
> >
> > OK.
> >
> > > 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".
> > >
> >
> > The permissions are all OK.But the users do not log in.
> > I tried to make a user manually in the /etc/passwd file,
> > but it was not succesfully.
>
> Nahh, don't go there!
> You don't even want to hose up your passwd file.
>
> > Is there an answer to this "X-File" problem?
> > Thanks!
> >
> >
> >
> --
> 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.