Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
spwd module missing in iOS
#1
Hello,

does someone know why spwd module is missing on iOS Python? I cannot install it using pip nor conda?
It is present on my Ubuntu/Debian machines and in sources available to download (spwdmodule.c)?

Best Regards
K.
Reply
#2
Hi,

quote for the module's documentation:

"This module provides access to the Unix shadow password database. It is available on various Unix versions.
You must have enough privileges to access the shadow password database (this usually means you have to be root)."

So I guess iOS either doesn't have the shadow pw database or there is not way to access it from Python. So I'm afraid you have to live without this module on iOS.

Regards, noisefloor
Reply
#3
Hm, I read the docs but AFAIK Ansible's user module (which uses spwd) worked before, maybe they introduced a bug?
Reply
#4
Hi,

I do not use Ansible, so I don't know. However, using the spwd module requires Root access, and I doubt that this is possible on a restricted OS like iOS.

Regards, noisefloor
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020