From owner-freebsd-questions@FreeBSD.ORG Sat Aug 5 13:57:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D33F316A4DA for ; Sat, 5 Aug 2006 13:57:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB44C43D45 for ; Sat, 5 Aug 2006 13:57:21 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k75DuunH022242; Sat, 5 Aug 2006 14:56:56 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k75DuunH022242 Message-ID: <44D4A3A2.3080306@infracaninophile.co.uk> Date: Sat, 05 Aug 2006 14:56:50 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: beno References: <44D478C2.5040205@web.vi> <44D48B18.3020401@infracaninophile.co.uk> <44D49564.6030408@web.vi> In-Reply-To: <44D49564.6030408@web.vi> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig69EDBA882360B3A3CF1F3920" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 05 Aug 2006 14:57:17 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.3/1635/Fri Aug 4 14:00:11 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: User Information (Easy Questions!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 13:57:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig69EDBA882360B3A3CF1F3920 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable beno wrote: > Matthew Seaman wrote: >> Note: this is potentially a problem. If the UID number gets reused fo= r a >> different account, that new user will get all the ownership rights to = the >> old users' files. It can often be a better policy to disable an old >> account >> -- set the password field in /etc/master.passwd to '!!' and change the= >> shell >> to /sbin/nologin -- rather than to delete it. >> =20 > Before I go trotting off and do this and potentially replace the wrong > field, which one is the passwd? > tick:$1$CDKLp9qt$sfo5Mi5/dB1uGZUuc5uKk0:1001:1001::0:0:User > &:/home/tick:/sbin/nologin The second field -- see passwd(5) (by which I mean type 'man 5 passwd', i= f it isn't obvious) >> You can also get a report on any 'unowned' files in the weekly periodi= c >> e-mail by adding >> >> weekly_noid_enable=3D"YES" >> >> to /etc/periodic.conf >> =20 > Where does it find the email address? The periodic emails are sent to root@localhost. There are at least two every day, plus an extra at the end of each week and at the end of each month -- you're expected to set up an alias that forwards them to the sysadmins for the machine. Check /etc/mail/aliases, you should have a line that says something like:= root: youruid in there towards the top. Edit the file appropriately and then type=20 'make' in the /etc/mail directory. If you haven't done that and you've be= en running a FreeBSD box for a while, you'll find that root's mailbox -- /var/mail/root -- is probably rather full. =20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig69EDBA882360B3A3CF1F3920 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE1KOo8Mjk52CukIwRCGCtAKCRlKxys2ZV9KnKs/O+px8gJ+rreQCdHQwT dWwsnBUpGHxQNqIYu47GE5c= =3C2g -----END PGP SIGNATURE----- --------------enig69EDBA882360B3A3CF1F3920--