mirror of https://github.com/cowrie/cowrie.git
Fix tomcat/oracle directory change error (#1063)
This commit is contained in:
parent
6010a4c0b0
commit
5047fcadc7
|
@ -117,7 +117,7 @@ class Passwd(object):
|
|||
"""
|
||||
|
||||
# ensure consistent uid and gid
|
||||
seed_id = crc32(name)
|
||||
seed_id = crc32(name.encode("utf-8"))
|
||||
seed(seed_id)
|
||||
|
||||
e = {}
|
||||
|
|
Loading…
Reference in New Issue