On Jan 6, 2008, at 6:54 AM, Fredrik Lundh wrote:

> Rajeev Nair wrote:
>
>> can anyone tell me how to use the entry field to enter system  
>> password?
>> So instead of system asking me in terminal i want to enter the
>> password through the entry field.
>
> not sure what you mean by "system" here,

This sounds as if Rajeev is trying to place a wrapper around 'sudo'.   
If so, you'll need to get the username and password and the pass them  
through to the sudo'd command like this (assumes the user is in the / 
etc/sudoers file and that thePassword contains their password):

echo thePassword | sudo -S theCommand

If I've mis-guessed here, please explain what you're trying to  
achieve further.

Tim

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to