Skip to content

Commit 0d767eb

Browse files
committed
updated getent.py
1 parent 5e7fd85 commit 0d767eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

getent.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
from __future__ import print_function
3535
#from __future__ import unicode_literals
3636

37+
# getent module doesn't parse correctly on Mac:
38+
#
39+
# dict(getent.passwd('root'))
40+
#
41+
# returns 'System Administrator' for shell field
42+
3743
import os
3844
import platform
3945
import re

0 commit comments

Comments
 (0)