From owner-freebsd-stable Sat May 2 14:43:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21517 for freebsd-stable-outgoing; Sat, 2 May 1998 14:43:04 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from jules.res.cmu.edu (JULES.RES.CMU.EDU [128.2.75.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21510 for ; Sat, 2 May 1998 14:42:57 -0700 (PDT) (envelope-from root@jules.res.cmu.edu) Received: from localhost (root@localhost) by jules.res.cmu.edu (8.8.8/8.8.7) with SMTP id RAA13303 for ; Sat, 2 May 1998 17:43:05 -0400 (EDT) (envelope-from root@jules.res.cmu.edu) Date: Sat, 2 May 1998 17:43:04 -0400 (EDT) From: Ruddy ROOT Reply-To: Ruddy ROOT To: freebsd-stable@FreeBSD.ORG Subject: passwd weirdness? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk Hi, I did a make world last Sunday from a 2.2.5 system... Everything ran fine, I installed it, then built a new kernel. After reboot, I went through & (to my belief) updated all of the files... But I am pretty sure that I did something wrong, because some commands are messed up that return user names - like last and w (I haven't noticed any others...) for instance, here are a few lines from last 3 `tJ5ttyp Wed Dec 31 19:00 still logged in 3 rI5ttyp Wed Dec 31 19:00 still logged in 1 iI5ttyp Wed Dec 31 19:00 still logged in 2 `iI5ttyp Wed Dec 31 19:00 still logged in and w will include something like this after i open up my first xterm... 6:39PM up 1 day, 3:03, 3 users, load averages: 0.02, 0.04, 0.04 USER TTY FROM LOGIN@ IDLE WHAT root v0 - Thu03PM - -tcsh (tcsh) root v1 - 6:39PM - -tcsh (tcsh) ttyp0 :0.0 6:39PM 27:02 - and after 2 or more... w: /dev//root: No such file or directory Everything looks fine from the virtual consoles, but once shells start opening up under X (I haven't seen it happen on any remote connections yet...) stuff starts getting messed up... When I did the upgrade, I left the passwd file intact, since I didn't want to have to add everybody back. I have changed spwd.db and pwd.db but left passwd alone, remade the passwd database, and rebooted, but the problem continued... could somebody also point me into an explanation of how the password files are handled, I've always wondered, but I've obviously never seen an explanation... (of course, i've not read any of the BSD books yet either). thanks, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message