add glue for krb5_einval
[heimdal.git] / appl / afsutil / pagsh.1
blobfb819b51204eea4b6d2c182b0fc54f48859ab171
1 .\" Copyright (c) 2005 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden). 
3 .\" All rights reserved. 
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without 
6 .\" modification, are permitted provided that the following conditions 
7 .\" are met: 
8 .\"
9 .\" 1. Redistributions of source code must retain the above copyright 
10 .\"    notice, this list of conditions and the following disclaimer. 
11 .\"
12 .\" 2. Redistributions in binary form must reproduce the above copyright 
13 .\"    notice, this list of conditions and the following disclaimer in the 
14 .\"    documentation and/or other materials provided with the distribution. 
15 .\"
16 .\" 3. Neither the name of the Institute nor the names of its contributors 
17 .\"    may be used to endorse or promote products derived from this software 
18 .\"    without specific prior written permission. 
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
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 .\" $Id$
33 .\"
34 .Dd February 12, 2005
35 .Dt PAGSH 1
36 .Os Heimdal
37 .Sh NAME
38 .Nm pagsh
39 .Nd
40 creates a new credential cache sandbox
41 .Sh SYNOPSIS
42 .Nm
43 .Op Fl c Ar command-string
44 .Op Fl h | Fl -help
45 .Op Fl -version
46 .Op Fl -cache-type= Ns Ar string
47 .Ar command [args...]
48 .Sh DESCRIPTION
49 Supported options:
50 .Bl -tag -width Ds
51 .It Xo
52 .Fl c Ar command-string
53 Executes command(s) contained in
54 .Ar command-string .
55 .Xc
56 .It Xo
57 .Fl -cache-type= Ns Ar string
58 .Xc
59 .It Xo
60 .Fl h ,
61 .Fl -help
62 .Xc
63 .It Xo
64 .Fl -version
65 .Xc
66 .El
67 .Pp
68 .Nm
69 creates a new credential cache sandbox for the user to live in.
70 If AFS is installed on the computer, the user is put in a newly
71 created Process Authentication Group (PAG).
72 .Pp
73 For Kerberos 5, the credential cache type that is used is the same as
74 the credential cache type that was used at the time of
75 .Nm
76 invocation.
77 The credential cache type can be controlled by the option
78 .Fl -cache-type .
79 .Sh EXAMPLES
80 Create a new sandbox where new credentials can be used, while the old
81 credentials can be used by other processes.
82 .Bd -literal -offset indent
83 $ klist
84 Credentials cache: FILE:/tmp/krb5cc_913
85         Principal: lha@E.KTH.SE
87   Issued           Expires          Principal
88 Feb 12 10:08:31  Feb 12 20:06:36  krbtgt/E.KTH.SE@E.KTH.SE
89 $ pagsh
90 $ klist
91 klist: No ticket file: /tmp/krb5cc_03014a
92 .Ed
93 .Sh SEE ALSO
94 .Xr afslog 1 ,
95 .Xr kinit 1