around that. Is there any built in method to do that or any
how-to's around the Internet / Advice that I could research?
Regards,
Johhny.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I am trying to get the user that is running the scripts uid, I have had
a look at the pwd module and it does not appear to offer that
functionality. Is there any way within python to get that information ?
Regards,
Johhny
--
http://mail.python.org/mailman/listinfo/python-list
appears to be
getting the better of me. Any assistance and advice would be greatly
appreciated.
Regards,
Johhny
--
http://mail.python.org/mailman/listinfo/python-list
rhn_errata.py, line 63, in ?
errata_package = errata_package.strip('\n','')
AttributeError: 'dict' object has no attribute 'strip'
where errata_package is JUST the errata_topic hash value.
Any advice would be great on how to do that.
Regards,
Johhny
--
http://mail.python.org/mailman/listinfo
Hello,
Thankyou for your response,
If I check that the errara_package value is with a print I get the
following.
===SNIP===
Updated libc-client packages that fix a buffer overflow issue are now
available.
This update has been rated as having moderate security impact by the
Red
Hat Security
Hello,
Here is the code (minus my details section).
server = xmlrpclib.ServerProxy(url)
session = server.auth.login(username,password)
#functions.
def getErrata():
channel_label = 'rhel-i386-as-4'
errata =
Hello,
In response to that the output is this :
type 'str' 'Updated libc-client packages that fix a buffer overflow
issue are now\navailable.\n\nThis update has been rated as having
moderate security impact by the Red\nHat Security Response Team.'
--
have any ideas or any recommended reading about this matter?
Regards,
Johhny
--
http://mail.python.org/mailman/listinfo/python-list
the script I get the following:
python reading_file.py
open file 'vsftpd.conf', mode 'r' at 0xb7d742a8
Does anyone have any advice on this issue at all.
Regards,
Johhny.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your assistance, Is it proper practice in python to flush
any memory when you exit? for example Ive read the file into memory,
when I close the file do I also have to flush any memory allocations ?
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Here is the script then the problem.
cat testing.py
import crypt
import random, string
def getsalt(chars = string.letters + string.digits):
return random.choice(chars) + random.choice(chars)
username = raw_input('password : ')
print crypt.crypt(username,getsalt())
python
easy, However Im having issues to do it in
python. Any advice would be great.
Regards,
Johhny.
--
http://mail.python.org/mailman/listinfo/python-list
Thankyou, I appreciate your help. I did not realise that python would
behave that way.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
If I go into the python shell and type help(modules) It does show
that crypt is there. However Im unsure if that means that there is help
or its got the module installed.
From a dpkg --list python* I have
ii python2.4-crypto
2.0+dp1-2ubuntu1
14 matches
Mail list logo