Skip to content

Commit

Permalink
Add a description.
Browse files Browse the repository at this point in the history
  • Loading branch information
mavit committed May 3, 2012
1 parent 429eef0 commit 541f2f2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.pod
Expand Up @@ -8,7 +8,17 @@ B<xsudo> I<sudo-arguments> ...

=head1 DESCRIPTION

FIXME
Running X Window programs as a different user with sudo generally
doesn't work because the target user can't authenticate with the X11
server.

This program copies your authorisation token into a temporary file
readable by the target user. Call it in place of sudo.

In addition, you need to make sure that the DISPLAY and XAUTHORITY
environment variables are passed to the program run by sudo. See the
C<env_keep> option in L<sudoers(5)> if you find that this is not the
case.


=cut
Expand Down
12 changes: 11 additions & 1 deletion xsudo
Expand Up @@ -13,7 +13,17 @@ B<xsudo> I<sudo-arguments> ...
=head1 DESCRIPTION
FIXME
Running X Window programs as a different user with sudo generally
doesn't work because the target user can't authenticate with the X11
server.
This program copies your authorisation token into a temporary file
readable by the target user. Call it in place of sudo.
In addition, you need to make sure that the DISPLAY and XAUTHORITY
environment variables are passed to the program run by sudo. See the
C<env_keep> option in L<sudoers(5)> if you find that this is not the
case.
=cut

Expand Down

0 comments on commit 541f2f2

Please sign in to comment.