From owner-freebsd-questions@FreeBSD.ORG Tue May 15 10:27:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DA6316A405 for ; Tue, 15 May 2007 10:27:18 +0000 (UTC) (envelope-from ersaloz@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 212E813C44C for ; Tue, 15 May 2007 10:27:17 +0000 (UTC) (envelope-from ersaloz@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1222870ugh for ; Tue, 15 May 2007 03:27:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:cc:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:importance:in-reply-to:x-mimeole; b=ulFaSNc+39dHCY2O3BLGaaYb2so37EipHTJtz6zpKOEkVLpn0l41gKK9UJNZ1MILfr1kSuNaivbyCuGeu9G1R07d7mC+K5fPSGoau9gVS8D3gw/ZcbaCNEg+Tmk1O6MI1OW8v9g62ARwQeK4eHBtldG8UU404suPILzn6OE3pBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:cc:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:importance:in-reply-to:x-mimeole; b=qa4j/wui5RD2DrJbt61ZSyiDoqlW44i7OZ3OPVLy+S/NTxCZH2QvPhwoo/Ao555H0ci+bNcUW1Rg5UONE3vNPW9jpUVjDvtiTy7aZhSfTrPOxKeJe1EVbxZnph+xOHwaX9HxIjTQ0RBynZGQw553Z69GnlSVVMYIW2bvs+5jEeE= Received: by 10.82.118.2 with SMTP id q2mr3697466buc.1179224836688; Tue, 15 May 2007 03:27:16 -0700 (PDT) Received: from asinusaureus ( [83.50.2.158]) by mx.google.com with ESMTP id 55sm15813908ugq.2007.05.15.03.27.13; Tue, 15 May 2007 03:27:14 -0700 (PDT) From: "Ernest Sales" To: Date: Tue, 15 May 2007 12:27:10 +0200 Message-ID: <000001c796db$9a9f8be0$2101a8c0@asinusaureus> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal In-Reply-To: <20070515075148.0DE8916A415@hub.freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: 'Christopher Illies' Subject: Re: .login_conf ignored 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: Tue, 15 May 2007 10:27:18 -0000 On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote: > The locale settings in my .login_conf are ignored: >=20 > ; cat .login_conf > # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53 > # ache Exp $ > # > # see login.conf(5) > # > me:\ > :charset=3DUTF-8:\ > :lang=3Den_US.UTF-8: >=20 > ; env | egrep -i 'lang|charset' > LANG=3Den_US.ISO8859-1 > MM_CHARSET=3Diso-8859-1 > ; ls -l .login_conf > -rw-r--r-- 1 chris chris 146 May 15 08:26 .login_conf > ; uname -r > 6.2-STABLE >=20 > My .login_conf file is not a symlink or world writable etc. Also, an > identical .login_conf for another user is applied without problems. > What am I missing? >=20 > Christopher Did you run cap_mkdb? >From login.conf manpage: The default /etc/login.conf shipped with FreeBSD is an out of the = box configuration. Whenever changes to this, or the user's = ~/.login_conf, file are made, the modifications will not be picked up until cap_mkdb(1) is used to compile the file into a database. This database file = will have a .db extension and is accessed through cgetent(3). Never had to deal with ~/.login_conf files, but what cap_mkdb manpage = seems to say is that you have to concatenate all sources in one run, i.e. cap_mkdb /etc/login.conf /home/user1/.login.conf /home/user2/.login.conf = ... HTH Ernest