From owner-freebsd-questions Tue Jul 18 13:21:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.221.73.131]) by hub.freebsd.org (Postfix) with ESMTP id 12D5E37BB16 for ; Tue, 18 Jul 2000 13:21:36 -0700 (PDT) (envelope-from webmaster@wmptl.com) Received: from wmptl.com ([10.0.0.168]) by mail2.wmptl.com (8.9.3/8.9.3) with ESMTP id QAA85581; Tue, 18 Jul 2000 16:48:09 -0400 (EDT) (envelope-from webmaster@wmptl.com) Message-ID: <3974BBB6.EC5B13D5@wmptl.com> Date: Tue, 18 Jul 2000 16:19:02 -0400 From: Nathan Vidican X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Thom Stevens Cc: questions@freebsd.org Subject: Re: completely lame happenings References: <39745F43.1ABCBBA0@poboxes.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thom Stevens wrote: > > Howdy, > > I am pretty embarrassed even to have to ask and don't know where else to > turn for such a lame need. I was working in a newly acquired machine > (without first having backed up the file system) and meant to change the > ownership on the sendmail configuration file but neglected to specify, > i.e.. 'chown user:group *', instead of 'chown user:group sendmail*' > > I need to know the user and group ownership of the files (and > directories) in the /etc directory. > > I am not sure it'll matter, but here is the version information. > FreeBSD 2.1.7-RELEASE (DELLPE) > > If you can do an 'ls -la /etc' on a FreeBSD machine and mail me the > results, that'd be a big help. > > Thanks, > > Thom Stevens > > -- > > ============================================== > Show: 1=2 > Proof: > Let: a=1,n=2 > a=n+b > a(a-n)=(n+b)(a-n) > a^2-an=na-bn-n^2+ab > a^2-an-ab=na-bn-n^2 > a(a-n-b)=n(a-n-b) > a=n > Given: a=1,n=2; > 1=2 QED. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ls -la /etc (from a pretty much generic installation): total 389 drwxr-xr-x 13 root wheel 2048 Jul 15 09:00 . drwxr-xr-x 19 root wheel 512 Jun 17 19:20 .. -rw-r--r-- 1 root wheel 1325 Jan 9 2000 adduser.conf -rw-r--r-- 1 root wheel 1311 Jan 5 2000 adduser.conf.bak -rw-r--r-- 1 root wheel 1625 Jul 17 12:35 aliases -rw-r--r-- 1 root wheel 32768 Jul 17 12:35 aliases.db -rw-r--r-- 1 root wheel 140 Feb 15 1999 amd.map -rw-r--r-- 1 root wheel 253 Feb 15 1999 auth.conf -rw-r--r-- 1 root wheel 353 Jul 15 09:00 back.snd -rw-r--r-- 1 root wheel 275 Jan 9 2000 backs.txt -rw-r--r-- 1 root wheel 64 Jul 15 09:00 backup.snd -rwxr--r-- 1 root wheel 820 Jan 20 13:04 backupfiles -rw-r--r-- 1 root wheel 970 Jan 23 13:17 crontab -rw-r--r-- 1 root wheel 95 Feb 15 1999 csh.cshrc -rw-r--r-- 1 root wheel 561 Feb 15 1999 csh.login -rw-r--r-- 1 root wheel 97 Feb 15 1999 csh.logout drwxr-xr-x 2 root wheel 512 Jan 5 2000 defaults -rw-r--r-- 1 root wheel 6526 Feb 15 1999 disktab -rw-r--r-- 1 root wheel 465 Feb 15 1999 dm.conf -rw-rw-r-- 1 root operator 0 Feb 15 1999 dumpdates -rw-r--r-- 1 root wheel 17 Jan 5 2000 exports -rw-r--r-- 1 root wheel 76 Feb 15 1999 fbtab -rw-r--r-- 1 root wheel 240 Jan 5 2000 fstab -rw-r--r-- 1 root wheel 180 Feb 15 1999 ftpusers -rw-r--r-- 1 root wheel 5545 Feb 15 1999 gettytab drwxr-xr-x 2 root wheel 512 Jan 5 2000 gnats -rw-r--r-- 1 root wheel 254 Jun 21 18:25 group -rw-r--r-- 1 root wheel 254 Jun 14 12:40 group.bak -rw-r--r-- 1 root wheel 190 Feb 15 1999 host.conf -rw-r--r-- 1 root wheel 35 Mar 8 23:29 hosts -rw-r--r-- 1 root wheel 98 Feb 15 1999 hosts.equiv -rw-r--r-- 1 root wheel 86 Feb 15 1999 hosts.lpd -rw-r--r-- 1 root wheel 3270 Jul 6 19:08 inetd.conf drwx------ 2 root wheel 512 Jan 5 2000 isdn drwxr-xr-x 2 root wheel 512 Feb 15 1999 kerberosIV -r--r--r-- 1 root wheel 1218 Jan 5 2000 localtime -rw-r--r-- 1 root wheel 588 Feb 15 1999 locate.rc -rw-r--r-- 1 root wheel 1837 Feb 15 1999 login.access -rw-r--r-- 1 root wheel 6719 Feb 15 1999 login.conf drwxr-xr-x 3 root wheel 512 Jul 6 19:03 mail -rw-r--r-- 1 root wheel 106 Feb 15 1999 mail.rc -rw-r--r-- 1 root wheel 6054 Feb 15 1999 make.conf -rw-r--r-- 1 root wheel 852 Feb 15 1999 manpath.config -rw-r--r-- 1 bin bin 852 Feb 15 1999 manpath.config.sample -rw------- 1 root wheel 1512 Jun 21 18:25 master.passwd -rw-r--r-- 1 root wheel 1471 Feb 15 1999 modems -rw-r--r-- 1 root wheel 326 Jul 13 12:41 motd drwxr-xr-x 2 root wheel 512 Jan 5 2000 mtree drwxr-xr-x 2 root wheel 512 Jan 5 2000 namedb -rbxr-xr-x 1 root wheel 741 Feb 15 1999 netstart -rw-r--r-- 1 root wheel 352 Feb 15 1999 networks -rw-r--r-- 1 root wheel 591 Feb 15 1999 newsyslog.conf -rw-r--r-- 1 root wheel 14 Feb 15 1999 objformat -rw-r--r-- 1 root wheel 941 Feb 15 1999 pam.conf -rw-r--r-- 1 root wheel 1147 Jun 21 18:25 passwd -rw-r--r-- 1 root wheel 11530 Feb 15 1999 pccard.conf.sample -rwxr-xr-x 1 root wheel 1315 Feb 15 1999 pccard_ether drwxr-xr-x 5 root wheel 512 Jan 5 2000 periodic -rw-r--r-- 1 root wheel 279 Feb 15 1999 phones drwxr-xr-x 2 root wheel 512 Jan 23 13:33 ppp -rw-r--r-- 1 root wheel 1786 Feb 15 1999 printcap -rw-r--r-- 1 root wheel 815 Feb 15 1999 profile -rw-r--r-- 1 root wheel 1660 Feb 15 1999 protocols -rw-r--r-- 1 root wheel 40960 Jun 21 18:25 pwd.db -rw-r--r-- 1 root wheel 10556 Feb 15 1999 rc -rw-r--r-- 1 root wheel 3512 Feb 15 1999 rc.atm -rw-r--r-- 1 root wheel 340 Jul 6 19:09 rc.conf -rw-r--r-- 1 root wheel 306 Feb 15 1999 rc.devfs -rw-r--r-- 1 root wheel 5954 Feb 15 1999 rc.firewall -rw-r--r-- 1 root wheel 2907 Feb 15 1999 rc.i386 -rw-r--r-- 1 root wheel 1104 Feb 15 1999 rc.isdn -rw-r--r-- 1 root wheel 9784 Feb 15 1999 rc.network -rw-r--r-- 1 root wheel 441 Feb 15 1999 rc.pccard -rw-r--r-- 1 root wheel 3370 Feb 15 1999 rc.serial -rw-r--r-- 1 root wheel 641 Feb 15 1999 rc.shutdown -rw-r--r-- 1 root wheel 1520 Feb 15 1999 remote -rw-r--r-- 1 root wheel 68 May 27 15:24 resolv.conf lrwxrwxrwx 1 root wheel 13 Jan 5 2000 rmt -> /usr/sbin/rmt -rw-r--r-- 1 root wheel 843 Feb 15 1999 rpc -rw-r--r-- 1 root wheel 2794 Feb 15 1999 security -rw-r--r-- 1 root wheel 34402 Feb 15 1999 sendmail.cf -rw-r--r-- 1 root wheel 71536 Feb 15 1999 services -rw-r--r-- 1 root wheel 195 Feb 15 1999 shells drwxr-xr-x 2 root wheel 512 Feb 15 1999 skel -rw------- 1 root wheel 0 Jan 5 2000 skeykeys -rw------- 1 root wheel 40960 Jun 21 18:25 spwd.db -rw-r--r-- 1 root wheel 663 Feb 15 1999 syslog.conf lrwxrwxrwx 1 root wheel 23 Jan 5 2000 termcap -> /usr/share/misc/ter mcap -rw-r--r-- 1 root wheel 7239 Jan 14 2000 ttys drwxrwx--- 2 uucp uucp 512 Jan 5 2000 uucp -rw-r--r-- 1 root wheel 0 Jan 5 2000 wall_cmos_clock This is from a FreeBSD 3.1 box, it's the oldest version I've got running, (at least that isn't all hacked up anyhow ;). Hope this helps. -- Nathan Vidican webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message