Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
User soll su werden in NIS-Domäne - aber wie?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Marvin-X
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2002
Posts: 126

PostPosted: Fri Aug 09, 2002 4:34 pm    Post subject: User soll su werden in NIS-Domäne - aber wie? Reply with quote

Hallo,

ich muss ja ab und zu mal als su arbeiten. Wie ich das mache steht ja in der FAQ, allerdings wird bei mir der User ber YP(NIS) eingefügt. Dafür hab ich den Nis-client laufen.

Wenn ich usermod -G users,wheel <meinuser> eingebe krieg ich die Fehlermeldung das der User <meinuser> nicht vorhanden ist.

Ich habe NIS (YP) sowohl nach dem compat Verfahren und den dementsprechenden Änderungen in passwd, group und shadow eingerichtet, als auch mittels

passwd: db files nis
group: db files nis
shadow: db files nis

Jedesmal das gleiche Ergebnis das der User nicht vorhanden ist. Einloggen als user geht und das /home ist per NFS gemountet.

Hat jemand eine Idee wie ich das hinkriege den User doch noch in die Group wheel aufzunehmen ohne ihn natürlich extra anzulegen denn dann wäre NIS ja ad absurdum.
Back to top
View user's profile Send private message
Marvin-X
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2002
Posts: 126

PostPosted: Sat Aug 10, 2002 8:45 am    Post subject: Re: User soll su werden in NIS-Domäne - aber wie? Reply with quote

Marvin-X wrote:

Wenn ich usermod -G users,wheel <meinuser> eingebe krieg ich die Fehlermeldung das der User <meinuser> nicht vorhanden ist.


Oops, jetzt muss ich mir schon selber antworten. Naja ich hab es hingekriegt. Stand zwar nirgends geschrieben, wahrscheinlich weil die Lösung so banal ist. Trotzdem hat Gentoo hier scheinbar einen Bug denn auf allen anderen Systemem funktioniert das einwandfrei.

Also der Workaround vigr /etc/group öffnen und den user der Gruppe wheel zuordnen. Beachten Komma gilt als Trennungszeichen.
Back to top
View user's profile Send private message
madmat
n00b
n00b


Joined: 22 Oct 2003
Posts: 8

PostPosted: Wed Oct 22, 2003 12:59 pm    Post subject: Reply with quote

/var/yp/Makefile

# We do not put password entries with lower UIDs (the root and system
# entries) in the NIS password database, for security. MINUID is the
# lowest uid that will be included in the password maps. If you
# create shadow maps, the UserID for a shadow entry is taken from
# the passwd file. If no entry is found, this shadow entry is
# ignored.
# MINGID is the lowest gid that will be included in the group maps.
MINUID=500
MINGID=500

.. verhindert das gruppe wheel und audio etc. exportiert werden.
ich werde die mingid verkleinern ... vielleicht gibt es aber auch eine bessere (sicherere) methode.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum