<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span><br></span></div><div>Thank Patrick </div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;">I have fixed this errors already.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;">Many thanks
again</div> <div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Patrick Asselman <iceblink@seti.nl><br> <b><span style="font-weight: bold;">To:</span></b> ubuntu-users@lists.ubuntu.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, July 24, 2013 9:51 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: python and ubuntu's environment<br> </font> </div> <div class="y_msg_container"><br>On 2013-07-23 17:48, Tung Thanh wrote:<br>> Thank you for your very useful and fast answer<br>> there is command or somehow that I can change my our username mywps<br>> to be able for calling wps web services or there is the command line<br>> how to check for which username
and permission were pointed when I <br>> run<br>> web service from outside or locally<br>><br>> I was sucked for more than one week,<br>><br>> Many Thanks<br>><br>> T.X.Tung<br>><br><br>There is the command "sudo" that allows you to do 1 single command as <br>another user, for instance "sudo -u wps ls" will perform the command <br>"ls" as user wps.<br><br>There is also the command "su" that allows you to do everythgin as <br>another user, i.e. "su wps".<br><br>You may need to add yourself to the /etc/sudoers file to obtain <br>permission for impersonating another user.<br><br><br>But frankly I think the best way to solve this is to debug via Python <br>itself, becaus that will show you exactly what is happening within the <br>Python environment.<br><br><br>Best regards,<br>Patrick Asselman<br><br><br>-- <br>ubuntu-users mailing list<br><a ymailto="mailto:ubuntu-users@lists.ubuntu.com"
href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br><br><br></div> </div> </div> </div></body></html>