Rechercher une page de manuel
sux
Langue: en
Version: 260538 (debian - 07/07/09)
Section: 1 (Commandes utilisateur)
NAME
sux - wrapper around su which will transfer your X credentialsSYNOPSIS
sux [OPTS] [-] [[username] [ARGS]]suxterm [OPTS] [-] [username]
DESCRIPTION
sux is a wrapper around the standard su command which will transfer your X credentials to the target user.Note, suxterm forces ARGS to be 'xterm', and will try to launch an xterminal window.
QUICK CALLING
'sux user' and 'sux - user' behave just like su but transfer $DISPLAY and the X cookies.
OPTIONS
- --untrusted
- To generate an untrusted cookie, see 'xauth'.
- --timout <period>
- To generate a temporary cookie for <period> seconds, see 'xauth'.
- -m,-p --preserve-environment
- In this case sux will override XAUTHORITY to the so that xauth does not try to use the original user's .Xauthority file (which it obviously could not do anyway due to access rights).
- --no-cookies
- Just transfer DISPLAY, not the cookies. You could do this if you have already transfered the cookies in a previous invocation of sux.
- --copy-cookies
- Copy the cookies using xauth. This is the default method (and only method most of the time).
- --use-xauthority
- Instead of transfering the cookies, set the XAUTHORITY environment variable to access the original .Xauthority file. There's a couple caveats with this method. First, due to the access right issues it's only usable by root. But even then it may not work if the .Xauthority file is accessed via NFS, e.g. if the home directories are on NFS (note that this is quite dangerous already since your cookies will travel unencrypted over the network). Then, if root runs commands like xauth add/remove, the .Xauthority's ownership will belong to him. This will leave the original user in trouble as he will no longer be able to access X! So only use this option with great care. Finally, this method does not work if you also want to use '--untrusted' or '--timeout'.
- --display
- specify which display to use (in case of having more than one available).
AUTHOR
Originally written by Francois Gouget <fgouget@free.fr> Manpage written by Millis Miller <millis@faztek.org>REPORTING BUGS
Report bugs to <millis@faztek.org>.COPYRIGHT
Copyright © 2003 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
su (1), xauth (1)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre