Deleted Added
full compact
su.1 (93417) su.1 (95124)
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 93417 2002-03-30 11:47:18Z keramida $
33.\" $FreeBSD: head/usr.bin/su/su.1 95124 2002-04-20 12:18:28Z charnier $
34.\"
35.Dd April 18, 1994
36.Dt SU 1
37.Os
38.Sh NAME
39.Nm su
40.Nd substitute user identity
41.Sh SYNOPSIS
42.Nm
43.Op Fl
44.Op Fl flm
45.Op Fl c Ar class
46.Op Ar login Op Ar args
47.Sh DESCRIPTION
34.\"
35.Dd April 18, 1994
36.Dt SU 1
37.Os
38.Sh NAME
39.Nm su
40.Nd substitute user identity
41.Sh SYNOPSIS
42.Nm
43.Op Fl
44.Op Fl flm
45.Op Fl c Ar class
46.Op Ar login Op Ar args
47.Sh DESCRIPTION
48.Nm Su
49requests appropriate user credentials via PAM
48The
49.Nm
50utility requests appropriate user credentials via PAM
50and switches to that user ID
51(the default user is the superuser).
52A shell is then executed.
53.Pp
54PAM is used to set all policy.
55.Pp
56By default, the environment is unmodified with the exception of
57.Ev USER ,

--- 159 unchanged lines hidden ---
51and switches to that user ID
52(the default user is the superuser).
53A shell is then executed.
54.Pp
55PAM is used to set all policy.
56.Pp
57By default, the environment is unmodified with the exception of
58.Ev USER ,

--- 159 unchanged lines hidden ---