Re: problem with "pw"
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric Dedrick wrote: > I'm having a nuisance problem, especially when I try to update my > ports. I'm using cups as an example, but other ports show the > problem: > > root# pw usershow cups > pw: no such user `cups' > root# pw useradd cups -g cups -u 193 > pw: user 'cups' already exists > > Any idea what the problem is and how to fix it? pwd_mkdb(8) perhaps. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGallT8Mjk52CukIwRCBEcAJ0RtLd9ajpxif2Kn+fPAIew5EZ+RQCfSRws JldcvoXVHpIRqxKgJ6+BBf4= =Zdt7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem with "pw"
I'm having a nuisance problem, especially when I try to update my ports. I'm using cups as an example, but other ports show the problem: root# pw usershow cups pw: no such user `cups' root# pw useradd cups -g cups -u 193 pw: user 'cups' already exists Any idea what the problem is and how to fix it? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with pw not creating home directories
I've been setting up a NIS domain between a couple machines and have run into a problem with pw. I have the NIS server which also has a large disk array shared via NFS. It contains a directory /nfs/home where all the NIS user home directories are supposed to be located. The problem comes when I am adding a new NIS user and want the home directory to be created. I run the following command: pw -V /var/yp useradd joeschmoe -m -Y NIS Map update started on Mon Jul 11 15:55:55 CDT 2005 for domain lbnetwork Updating passwd.byname... Updating passwd.byuid... Updating netid.byname... Updating master.passwd.byname... Updating master.passwd.byuid... NIS Map update completed. The user is added to the NIS passwd file correctly, and make runs successfully to distribute it to the clients. The problem is that the home directory supposed to have been created at /nfs/home/joeschmoe is not created. I do have a pw.conf located in /var/yp that contains the following: home /nfs/home skeleton /usr/share/skel /var/log/userlog has this: 2005-07-11 15:55:55 [bwkahle:groupadd] joeschmoe(1009) 2005-07-11 15:55:55 [bwkahle:useradd] joeschmoe(1009):joeschmoe(1009):User &:/nfs/home/joeschmoe:/bin/sh 2005-07-11 15:55:55 [bwkahle:useradd] NIS maps updated I have successfully been able to create home directories when adding a normal user account, and I do have write permissions to /nfs/home. Is this a bug in pw, or am I missing something? Thanks, Bryce Kahle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"