Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: Get all available users (Unix only)

Python: Get all available users (Unix only)

import pwd
import os
print pwd.getpwuid(os.getgid())
print pwd.getpwnam("root")

Users who found this page were searching for:

  • calculate no of month between two string dates in java
  • java jlist multiple selection example
  • python pwd password authentication
  • underline text in jlabel
  • how to iterate one array over another array
  • scriptenginemanager java + getCookie
  • how to move email from inbox to another folder using java mail
  • perl net:pop3 yahoo mail
  • python ftp password encrypt
  • set python for all users in unix

No comments yet.

Leave a Comment