From owner-freebsd-questions@freebsd.org Sun Aug 30 21:10:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26EED9C62A0 for ; Sun, 30 Aug 2015 21:10:30 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E95967B4 for ; Sun, 30 Aug 2015 21:10:29 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7ULARla027071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 16:10:28 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E37143.1060103@hiwaay.net> Date: Sun, 30 Aug 2015 16:15:57 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150830193337.2b7757ce.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 21:10:30 -0000 On 08/30/15 12:39, Polytropon wrote: >> > From last nights backup: >> > >> > >> >[wam@Q6600, ~, 11:46:03am] 1369 % lf/home/rsync/Jaguar/etc/*: >> >/home/rsync/Jaguar/etc/enabled: /home/rsync/Jaguar/etc/fingerprints: >> >/home/rsync/Jaguar/etc/mirror_type: /home/rsync/Jaguar/etc/signature_type: >> >[wam@Q6600, ~, 11:46:09am] 1370 % file !$ >> >file/home/rsync/Jaguar/etc/*: >> >/home/rsync/Jaguar/etc/enabled:: ASCII text >> >/home/rsync/Jaguar/etc/fingerprints:: empty >> >/home/rsync/Jaguar/etc/mirror_type:: empty >> >/home/rsync/Jaguar/etc/signature_type:: empty > Empty files and a text file, and ending in ':', very strange. > However, a process with root privilege must have written them > because /etc is (or_should be_) writable by root only. > > What does /etc/enabled: contain? As near as I can tell, all lines containing one letter: 'y'. It's a huge file, so I didn't explore all of it .... > > >> >[wam@Q6600, ~, 11:46:14am] 1371 % ll !$ >> >ll/home/rsync/Jaguar/etc/*: >> >-rw-r--r--. 1 wam users 143851520 Sep 3 2014 >> >/home/rsync/Jaguar/etc/enabled: >> >-rw-r--r--. 1 wam users 0 Sep 3 2014 >> >/home/rsync/Jaguar/etc/fingerprints: >> >-rw-r--r--. 1 wam users 0 Sep 3 2014 >> >/home/rsync/Jaguar/etc/mirror_type: >> >-rw-r--r--. 1 wam users 0 Sep 3 2014 >> >/home/rsync/Jaguar/etc/signature_type: > And_this_ is very strange: Those look like user files. How > did they get (a) into the original /etc, or (b) into its > backup which you're showing the listing from? Yeah, I just noticed that, that's because the backup process is run by my regular user, not root. That's something I may review, I have always done backups as regular user in the past because it was user stuff getting backed up, however (as posted a last week or so) I am reviewing my backup practices & protocols .... Thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.