Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 16:15:57 -0453.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: /etc files
Message-ID:  <55E37143.1060103@hiwaay.net>
In-Reply-To: <20150830193337.2b7757ce.freebsd@edvax.de>
References:  <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E37143.1060103>