1999-12-09 17:26:08 +01:00
|
|
|
|
.\" Copyright (c) 1985, 1991, 1993
|
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.\"
|
|
|
|
|
.\" @(#)getusershell.3 8.1 (Berkeley) 6/4/93
|
2002-03-09 16:23:45 +01:00
|
|
|
|
.\" %FreeBSD: src/lib/libc/gen/getusershell.3,v 1.5.2.2 2001/08/17 15:42:33 ru Exp %
|
2001-05-14 03:10:24 +02:00
|
|
|
|
.\" $FreeBSD$
|
2002-03-09 16:23:45 +01:00
|
|
|
|
.\"
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Dd June 4, 1993
|
|
|
|
|
.Dt GETUSERSHELL 3
|
2002-03-09 16:23:45 +01:00
|
|
|
|
.Os
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh ̾<EFBFBD><EFBFBD>
|
|
|
|
|
.Nm getusershell ,
|
|
|
|
|
.Nm setusershell ,
|
|
|
|
|
.Nm endusershell
|
|
|
|
|
.Nd <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>桼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2002-03-09 16:23:45 +01:00
|
|
|
|
.Sh <EFBFBD>饤<EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Lb libc
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Fd #include <unistd.h>
|
|
|
|
|
.Ft char *
|
|
|
|
|
.Fn getusershell void
|
|
|
|
|
.Ft void
|
|
|
|
|
.Fn setusershell void
|
|
|
|
|
.Ft void
|
|
|
|
|
.Fn endusershell void
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Fn getusershell
|
2002-03-09 16:23:45 +01:00
|
|
|
|
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Pa /etc/shells
|
2002-03-09 16:23:45 +01:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>桼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υݥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Pa /etc/shells
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>ɤ߹<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>¸<EFBFBD>ߤ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>硢
|
|
|
|
|
.Fn getusershell
|
|
|
|
|
<EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Pa /bin/sh
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFB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BD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Bl -tag -width /etc/shells -compact
|
|
|
|
|
.It Pa /etc/shells
|
|
|
|
|
.El
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Fn getusershell
|
2002-03-09 16:23:45 +01:00
|
|
|
|
<EFBFBD>롼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Dv EOF
|
|
|
|
|
<EFBFBD><EFBFBD>
|
2002-03-09 16:23:45 +01:00
|
|
|
|
<EFBFBD>̥<EFBFBD><EFBFBD>ݥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (0) <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Xr shells 5
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Fn getusershell
|
|
|
|
|
<EFBFBD>ؿ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Bx 4.3
|
2002-03-09 16:23:45 +01:00
|
|
|
|
<EFBFBD>Ǻǽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>о줷<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh <EFBFBD>Х<EFBFBD>
|
|
|
|
|
.Fn getusershell
|
|
|
|
|
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBF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