* SUMMARY: correct permissions of mail system
@ 1997-03-13 14:39 aiv
0 siblings, 0 replies; only message in thread
From: aiv @ 1997-03-13 14:39 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
My original question was:
>Could anyone please tell me what the correct permissions for various parts
>of the mail system should be. For the executables, spool and incoming mail
>areas?
>
The solution:
/usr/sbin:
-r-sr-sr-x 4 root bin sendmail
-r-sr-sr-x 4 root bin newaliases
-r-sr-sr-x 4 root bin mailq
-r-sr-sr-x 4 root bin smtpd
/usr/spool:
drwxrwxrwt 2 root mail mail
drwxr-xr-x 2 root system mqueue
/usr/spool/mail:
-rw------- 1 user1 mail user1
-rw------- 1 user2 mail user2
-rw------- 1 user3 mail user3
/usr/adm/sendmail (=/var/adm/sendmail):
-rw-r--r-- 1 root system aliases
-rw-r--r-- 1 root system aliases.db
-rw-r--r-- 1 root system aliases.dir
-rw-r--r-- 1 root system aliases.pag
-r--r--r-- 1 root bin sendmail.cf
-rw-r--r-- 1 root system sendmail.m4
-rw-r--r-- 1 root bin sendmail.st
Besides for mail system as standard system software subset (as well as for
other subsets) there's a file /usr/.smdb./SUBSET.inv which is as its name
implies an inventory where ownership and access restrictions may be found.
Many thanks to the following people for providing solutions:
Alan Rollow alan@nabeth.cxo.dec.com
Gernot Salzer salzer@logic.tuwien.ac.at
Marie-Claude Vialatte mc.vialatte@custsv.univ-bpclermont.fr
Copies of received suggestions:
From Alan Rollow:
> For each file of interest, look in the inventory files for that
> file's entry. The permission and ownership are included in
> the entry. If you can't figure out which field is which, the
> guide describing how to build software kits will have it. It
> is in the book which also describes other supporting software
> development things, but I don't remember the book title.
>
> The inventory files are in /usr/.smdb./*.inv.
From Marie-Claude Vialatte:
> for DU-3.2c
>
> -rwsr-xr-x 4 root bin 212992 Jul 25 1995 /usr/sbin/sendmail
> drwxrwxrwt 2 root mail 9728 Mar 12 17:51 /var/spool/mail/
> -rw------- 1 mcv mail 2879 Mar 12 17:49 /var/spool/mail/mcv
>
> _______________________________________________________________________
> Marie-Claude Vialatte | Telephone : +33 4 73 40 77 08
> C.U.S.T. - Clermont-Ferrand | Fax : +33 4 73 40 75 10
> 63177 AUBIERE Cedex | Email : mc.vialatte@custsv.univ-bpclermont.fr
> FRANCE | WWW : http://custsv.univ-bpclermont.fr
From Gernot Salzer:
> These are the permissions on my system (DU 4.0, sendmail 8.8.3):
>
> /usr/sbin:
> -r-sr-sr-x 4 root bin sendmail
> -r-sr-sr-x 4 root bin newaliases
> -r-sr-sr-x 4 root bin mailq
> -r-sr-sr-x 4 root bin smtpd
> The four programs above are one and the same binary, hard-linked to each
> other.
>
> /usr/spool:
> drwxrwxrwt 2 root mail mail
> drwxr-xr-x 2 root system mqueue
>
> /usr/spool/mail:
> -rw------- 1 user1 mail user1
> -rw------- 1 user2 mail user2
> -rw------- 1 user3 mail user3
>
> /usr/adm/sendmail (=/var/adm/sendmail):
> -rw-r--r-- 1 root system aliases
> -rw-r--r-- 1 root system aliases.db
> -rw-r--r-- 1 root system aliases.dir
> -rw-r--r-- 1 root system aliases.pag
> -r--r--r-- 1 root bin sendmail.cf
> -rw-r--r-- 1 root system sendmail.m4
> -rw-r--r-- 1 root bin sendmail.st
>
> Gernot
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-03-13 14:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-13 14:39 SUMMARY: correct permissions of mail system aiv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox