Created
June 14, 2017 20:43
-
-
Save vijayanandrp/25076167d74ef01be097655073293938 to your computer and use it in GitHub Desktop.
sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> pwd.struct_pwent(['root', 'toor', '502', '20', 'Vijay', '/var/root/', '/bin/sh']) | |
pwd.struct_passwd(pw_name='root', pw_passwd='toor', pw_uid='502', pw_gid='20', pw_gecos='Vijay', pw_dir='/var/root/', pw_shell='/bin/sh') | |
>>> pwd.struct_passwd(['root', 'toor', '502', '20', 'Vijay', '/var/root/', '/bin/sh']) | |
pwd.struct_passwd(pw_name='root', pw_passwd='toor', pw_uid='502', pw_gid='20', pw_gecos='Vijay', pw_dir='/var/root/', pw_shell='/bin/sh') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment