Question Regarding X environment

Parson, David David.Parson at PacifiCorp.com
Wed Oct 17 14:41:42 EDT 2001


You need to set your DISPLAY variable and export it.  There are many ways to
determine what to set it to, but the easiest would be to login as your
regular user and "echo $DISPLAY", then once you su ?? just set it back to
the same.

Depending on the shell that you are using, something like the following:

echo $DISPLAY <CR>  {as yourself before you su}
After you su ...
DISPLAY=xxx
export DISPLAY
{where xxx is the proper setting}


_-D Parson 


-----Original Message-----
From: Sreenivasan, Rohit G [mailto:rohit.g.sreenivasan at intel.com]
Sent: Wednesday, October 17, 2001 10:17 AM
To: 'sudo-users at courtesan.com'
Subject: Question Regarding X environment


Hi,
 When i sudo to another user or account, i am not able to run any of the
x-(commands) like xlock,xauotlock,xdu,xcopy etc.., is this a security
feature for the sudo or is there a wrapper around this to allow users to
sudo and still be able to run the x environment.
  I am running this on Solaris 2.5 , and the Sudo version 1.5.6p6 .

Thanks,
Rohit...
____________________________________________________________ 
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/sudo-users/attachments/20011017/beac4d77/attachment.html>


More information about the sudo-users mailing list