Deleted Added
full compact
su.1 (162286) su.1 (162792)
1.\" Copyright (c) 1988, 1990, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)su.1 8.2 (Berkeley) 4/18/94
1.\" Copyright (c) 1988, 1990, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)su.1 8.2 (Berkeley) 4/18/94
33.\" $FreeBSD: head/usr.bin/su/su.1 162286 2006-09-13 17:46:20Z joel $
33.\" $FreeBSD: head/usr.bin/su/su.1 162792 2006-09-29 15:20:48Z ru $
34.\"
35.Dd September 13, 2006
36.Dt SU 1
37.Os
38.Sh NAME
39.Nm su
40.Nd substitute user identity
41.Sh SYNOPSIS

--- 12 unchanged lines hidden (view full) ---

54.Pp
55PAM is used to set the policy
56.Xr su 1
57will use.
58In particular, by default only users in the
59.Dq Li wheel
60group can switch to UID 0
61.Pq Dq Li root .
34.\"
35.Dd September 13, 2006
36.Dt SU 1
37.Os
38.Sh NAME
39.Nm su
40.Nd substitute user identity
41.Sh SYNOPSIS

--- 12 unchanged lines hidden (view full) ---

54.Pp
55PAM is used to set the policy
56.Xr su 1
57will use.
58In particular, by default only users in the
59.Dq Li wheel
60group can switch to UID 0
61.Pq Dq Li root .
62This group requirement may be changed by modifying the
62This group requirement may be changed by modifying the
63.Dq Li pam_group
63.Dq Li pam_group
64section of
64section of
65.Pa /etc/pam.d/su .
65.Pa /etc/pam.d/su .
66See
66See
67.Xr pam_group 8
68for details on how to modify this setting.
69.Pp
70By default, the environment is unmodified with the exception of
71.Ev USER ,
72.Ev HOME ,
73and
74.Ev SHELL .

--- 167 unchanged lines hidden ---
67.Xr pam_group 8
68for details on how to modify this setting.
69.Pp
70By default, the environment is unmodified with the exception of
71.Ev USER ,
72.Ev HOME ,
73and
74.Ev SHELL .

--- 167 unchanged lines hidden ---