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: pagsh.1 20311 2007-04-11 11:27:51Z lha $ 33.\" 34.Dd February 12, 2005 35.Dt PAGSH 1 36.Os Heimdal 37.Sh NAME 38.Nm pagsh 39.Nd 40creates a new credential cache sandbox 41.Sh SYNOPSIS 42.Nm 43.Op Fl c 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 49Supported options: 50.Bl -tag -width Ds 51.It Xo 52.Fl c 53.Xc 54.It Xo 55.Fl -cache-type= Ns Ar string 56.Xc 57.It Xo 58.Fl h , 59.Fl -help 60.Xc 61.It Xo 62.Fl -version 63.Xc 64.El 65.Pp 66.Nm 67creates a new credential cache sandbox for the user to live in. 68If AFS is installed on the computer, the user is put in a newly 69created PAG. 70.Pp 71For Kerberos 5, the credential cache type that is used is the same as 72the credential cache type that was used at the time of 73.Nm 74invocation. 75The credential cache type can be controlled by the option 76.Fl -cache-type . 77.Sh EXAMPLES 78Create a new sandbox where new credentials can be used, while the old 79credentials can be used by other processes. 80.Bd -literal -offset indent 81$ klist 82Credentials cache: FILE:/tmp/krb5cc_913 83 Principal: lha@E.KTH.SE 84 85 Issued Expires Principal 86Feb 12 10:08:31 Feb 12 20:06:36 krbtgt/E.KTH.SE@E.KTH.SE 87$ pagsh 88$ klist 89klist: No ticket file: /tmp/krb5cc_03014a 90.Ed 91.Sh SEE ALSO 92.Xr afslog 1 93