Mike Pindzola wrote:
> I have figured many things out. system works, i just forgot to type
> os.system(). I have been looking into the os module and am finding alot
> of useful stuff. I still need to workout the best way to ask a user for
> a root password, show when typed and then pass it
> of useful stuff. I still need to workout the best way to ask a user
> for a root password, show when typed and then pass it to the
> system...
There is a module for password handling - getpass I think it is
called,
but a browse of the library docs should find it.
The other one you might
On Tue, 12 Jul 2005, Mike Pindzola wrote:
> I have figured many things out. system works, i just forgot to type
> os.system(). I have been looking into the os module and am finding alot
> of useful stuff. I still need to workout the best way to ask a user for
> a root password, show when ty
I have figured many things out. system works, i just forgot to type
os.system(). I have been looking into the os module and am finding alot
of useful stuff. I still need to workout the best way to ask a user for
a root password, show when typed and then pass it to the system...
thanks for
Yes, I have did 'import os'. For starters I want to read the result of
'pwd' and print it out in the program for the user to see what path is
being read. Also, I need to have a function to handle root access if the
user does not have such privledges since I will be mounting and
unmounting hardw
Quoting Mike Pindzola <[EMAIL PROTECTED]>:
> Should I be even trying to make a system call? Is there a better way to
> talk to the shell? Either way, please enlighten me. Thanks.
There may be a better way to achieve what you want to do, without using the
shell at all. For example, the os and os.