Date: Wed, 24 Oct 2001 19:00:34 +0200 (CEST) From: "Hartmann, O." <ohartman@klima.physik.uni-mainz.de> To: <freebsd-stable@freebsd.org> Subject: pw(8) and NIS/YP problems under FBSD 4.4 Message-ID: <20011024184532.A47237-100000@klima.physik.uni-mainz.de>
next in thread | raw e-mail | index | archive | help
Hello out there. As recommended in the Makefile in /var/yp, we created an individual subdirectory to keep all relevant domain informations separated from those on the local host. That means, that all NIS/YP user relevant files like login.conf,group,master.passwd,passwd, normally located in /etc, are now maintained and located in another specific subdir in /var/yp. I applied several changes to the Makefile in /var/yp and all things run very well for this time. I try to maintain the addition and deletion of users using pw(8) and for this reason I ceated a specific pw.conf in /var/yp/etc/domain to target the specific needs for the NIS domain. I checked this pw.conf many times and it is correct as I can see. master.passwd is targeted to the right one, the root-home dir is present and other relevant stuff. A also set up a new skeleton directory in /var/yp/skel with all apropriate files and I managed the tag in pw.conf to target this new directory. I also checked whether the yp-directory which is applied to the pw option "-y" has been set correctly in pw.conf - it has been set the correct way ... When adding a user using this syntax: pw -V new-etc-dir useradd testuser -c "A new user" -m -Y which the intention to force the master NIS server to push the new user relevant informations to its slaves and create a home directory for the new user, I receive this error: pw: WARNING: NIS passwd update: Undefined error: 0 but NIS/YP pushes all new files to the slave servers after this. In the new master.passwd in /var/yp/etc the new users are set up correctly, but the creation of their homes failed, I think due to the error shown above. I do not know what this error mean, it seems to be a bug in pw. Three guys checked now the syntax, the setup of all relevant config files, the presents of all necessary files in the new etc-dir as shown in the manpages of pw(8), but we have no glue what's going wrong. It seems that the process which creats the homedirs fails but there is no message what it is lacking in. Do anyone has any kind of tip, hint or idea? Thanks, Oliver -- MfG O. Hartmann ohartman@klima.physik.uni-mainz.de ---------------------------------------------------------------- IT-Administration des Institutes fuer Physik der Atmosphaere (IPA) ---------------------------------------------------------------- Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 FAX: +496131/3923532 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011024184532.A47237-100000>