[OpenAFS] elegant solution for user change?

Christof Hanke hanke@rzg.mpg.de
Fri, 03 Aug 2007 06:53:44 +0300


Jochen Th=E4der wrote:
> afs-user "worker" should change to afs-user "operator" (using a keyfile=
)
> into a clean shell without typing a passwd. The keyfile is only
> accessible for worker.
>=20
> When I exit from there, I have the same situation for worker as before =
(
> as I want )
>=20
Give this a try :

sh# pagsh
sh# kinit -t=3D<operatorkeytab> --afs-cell=3D<yourcell>  <principal>

where <principal> =3D=3D username@REALM.


HTH,
Christof