File: suidregister.8

package info (click to toggle)
suidmanager 0.20
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 68 kB
  • ctags: 4
  • sloc: sh: 142; makefile: 35
file content (27 lines) | stat: -rw-r--r-- 1,171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH suidregister 8suidmanager "Debian Utilities" "DEBIAN" \" -*- nroff -*-
.SH NAME
suidregister \- Set special permissions on a file or directory and register it
.SH SYNOPSIS
\fBsuidregister [-s <package>] <file_or_dir> <user> <group> <octal_permissions>
.SH DESCRIPTION
\fBsuidregister\fR enters a file or directory into the \fI/etc/suid.conf\fR file and sets
permissions. It is intended to be used from package installation scripts
with the -s options and from the administrator without it.
.PP
Calling \fBsuidregister\fR without any options will simply verify that all the
settings are the way indicated in the config file. It gives warnings and
corrects each file or directory that is not set up correctly.
.SH OPTIONS
.TP
.B -s package
Standard settings for a package. This option must always be given if a package
installs a setuid binary or directory needing special mode settings.
.SH EXAMPLE
The postinst of \fBsendmail\fR could do the following:
.PP
suidregister -s sendmail /usr/bin/sendmail root mail 2755
suidregister -s sendmail /var/spool/mail root mail 3775
.SH SEE ALSO
suidunregister(8), suid.conf(5)
.SS AUTHOR
Christoph Lameter <clameter@debian.org>