From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 07:06:29 2003 Return-Path: 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 8639416A4BF for ; Mon, 8 Sep 2003 07:06:29 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6419F43FB1 for ; Mon, 8 Sep 2003 07:06:28 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (sccrmhc11) with ESMTP id <2003090814062701100ktcqee>; Mon, 8 Sep 2003 14:06:27 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h88E6Qto059933 for ; Mon, 8 Sep 2003 10:06:26 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h88E6Q4Y059930; Mon, 8 Sep 2003 10:06:26 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: freebsd-questions@freebsd.org References: <003401c373c4$75e78fc0$3501a8c0@pro.sk> <44y8wzh0jo.fsf@be-well.ilk.org> <001501c3760f$d2153ca0$3501a8c0@pro.sk> From: Lowell Gilbert Date: 08 Sep 2003 10:06:25 -0400 In-Reply-To: <001501c3760f$d2153ca0$3501a8c0@pro.sk> Message-ID: <44k78jgyse.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: FreeBSD upgrade on production server - Solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 14:06:29 -0000 "Peter Rosa" writes: > Of course, I have read the Handbook, but there are very "wide" solution, not > so specific as I tried to find. There is never said e.g. "Backup file > /etc/fstab" or "After installation mergemaster your previously backed > sendmail.cf with the new one to include your old changes". There *is* no way to have such a comprehensive list that would be accurate for everybody. You need all of the locally-modified files, which can include nearly anything in /etc, most of /var, locally created data (including user directories, but possibly many other things, like a web server root, as well), tuning files for ports, and on and on. If in doubt, the best thing is to back up the *entire* system and you know you'll have a backup of anything you need. You don't need to worry too much about what to merge, because mergemaster takes care of finding the normal system configuration files and helping you merge them -- but you need to know how the system is set up, and how you *want* it to be set up. > However, I upgraded that machine and all works fine (finally the sendmail, > too). Except when I login, I get following errors (written twice): > Sep 8 08:35:01 ns login: ROOT LOGIN (root) ON ttyv1 > Sep 8 08:35:01 ns login: no modules loaded for `login' service > Sep 8 08:35:01 ns login: pam_open_session: Permission denied > > What is it ? Is it I have misconfigured pam ? And how can I repair it ? Sure looks like a PAM misconfiguration. The configuration is /etc/pam.conf and the default file is /usr/src/etc/pam.conf and unless you have intentional configuration changes, they should probably be identical. mergemaster(8) should have caught that for you.