Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Feb 2000 10:35:06 -0500
From:      John <papalia@udel.edu>
To:        "O. Hartmann" <ohartman@ipamzlx.physik.uni-mainz.de>, freebsd-questions@FreeBSD.ORG
Subject:   Re: /etc/group problems!
Message-ID:  <4.1.20000205102904.009d52f0@mail.udel.edu>
In-Reply-To: <Pine.BSF.4.10.10002051236380.1140-100000@ipamzlx.physik.un i-mainz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>I still have trouble with my /etc/group file, I posted now three times here 
>with no answer.
>Hope ths is not a charateristicum  of FreeBSD User group!

Usually if nobody answers, that means that nobody who read your message has
an answer for you... it's one of the 'unfortunate' downfalls when you get
something for free =)

I have no clue really what might be causing your trouble, but in the
interest of trying to help, I'm going to take some blind stabs in the dark.

If I understand correctly:
-You used 'pw' to add groups to /etc/group
-You used 'adduser' to add users, and during the adduser command, you
invited those users to the new groups.
-After the user is set up, most of the users can't log in, despite the fact
that they show the correct UID and GID ?

Now, like I said, I have no idea, but I'm guessing...

What happens if you add the users to group "nobody", and try to let them
log in?  If they can log in then, then ok, maybe group problems.  But if
they can't log in even when assigned to group "nobody", then I'm guessing
it's a much different/bigger problem.

You also say you edited /etc/login.conf.  The top of the file indicates:

# Sample login.conf - login class capabilities database.
# To speed up access to this data, you can use /usr/bin/cap_mkdb
# to create a database form of this file:
#
#       cap_mkdb /etc/login.conf
#
# Don't forget to do this after each edit as well!

Did you run this after your edit?

--John

>Well, the problem looks like difficult! I reconfigured login.conf. In 
>login.conf
>I defined new classes, but they do not involve those groups which can not 
>login.
>There are other groups with the same class-definition in login.conf which 
>are able
>to log in. Same is for login.access.
>I have only three additional well functioning groups defined in /etc/group, 
>all other
>additional groups I defined are not working. When adding a new group to my 
>/etc/group
>file all things look well. When adding a new user vi "adduser" , adduser 
>does not
>add the new defined user to the specified group! Adding this user by hand 
>produces
>the effect, that this user is only then able to log in, when it's group is 
>one of the
>"functioning" groups, but this user can not login when adding hin to a new 
>group I defined.
>Any idea, hint or tip?
>
>Gruss O. Hartmann
>-------------------------------------------------------------------
>ohartman@ipamzlx.physik.uni-mainz.de
>
>Klimadatenserver des IPA, Universitaet Mainz
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.20000205102904.009d52f0>