🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.os.unix.linux.misc
Article #338

su Problem: "cannot set groups: Invalid Argument"

#338
From: Felix Rauch
Date: Tue, 14 Sep 1999 00:00
44 lines
2419 bytes
Ich habe auf einer neuen Maschine SuSE 6.2 installiert. Die Maschine
ist ein NIS-client und es funktioniert fast alles bestens, ausser:

- Ein "su root" (sowohl als root als auch als normaler User) ergibt:
  su: cannot set groups: Invalid Argument

- Ein login-Versuch ueber ssh als root geht auch fast, d.h. es geht
  wieder bis zum gleichen Problem:
    ssh -l root machine
    root@machine's password: 
    Last login: Tue Sep 14 16:41:11 1999 from localhost
    Have a lot of fun...
    initgroups: Invalid argument
    Connection to machine closed.

Es koennte etwas mit den Gruppen zu tun haben, denn folgendes
erscheint mir etwas merkwuerdig (alles als root):
  machine:~ # groups
  root
  machine:~ # groups root
  root : root bin uucp shadow dialout nogroup bin disk kmem dialout nogroup shadow uucp
  machine:~ # grep Groups /proc/self/status
  Groups:
  machine:~ #

(fuer normale User kommt die erwartete Ausgabe)
Man beachte, dass die Gruppen doppelt oder gar nicht aufgefuehrt werden...

Kann es sein, dass SuSE 6.2 mit PAM und NIS ein Gruppen-Problem hat?
Ich habe an den PAM-Dateien nichts geaendert, da SuSE sagt, es muesse
mit ihrem Setup funktionieren, wenn man die Maschine als YP-client
konfiguriert...

Darf ich root nicht sowohl auf dem YP-Server als auch auf dem
YP-Client konfiguriert haben? Bis jetzt hat das immer bestens
geklappt...

Irgendwelche Ideen? Ich werde leider nicht schlau daraus :-(

- Felix
-- 
Felix Rauch, research assistant @ ETH Zurich, Institute for Computersystems
Homepage: http://nice.ethz.ch/~felix/ (includes PGP public key)
Email: felix@nice.ch     -> This article contains my personal views only <-
Technical Details
Message-ID: <37de6133@core>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: f4b73,7d0958273c339a9b,start
X-Google-Attributes: gidf4b73,public
X-Google-Thread: f55df,7d0958273c339a9b,start
X-Google-Attributes: gidf55df,public
From: felix@nice.usergroup.ethz.ch (Felix Rauch)
Subject: su Problem: "cannot set groups: Invalid Argument"
Date: 1999/09/14
Message-ID: <37de6133@core>
X-Deja-AN: 524996923
Sender: Felix Rauch <rauch@cs-zz4.ethz.ch>
X-Original-NNTP-Posting-Host: cs-zz4.inf.ethz.ch
X-Trace: 14 Sep 1999 16:52:38 +0100, core.inf.ethz.ch
Organization: ETH Zurich
Followup-To: de.comp.os.unix.linux.misc
User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.2.7 (i686))
Newsgroups: de.comp.os.unix.linux.misc,ch.comp.os.linux