Last active
August 29, 2015 13:57
-
-
Save swalberg/9765383 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# perl test.pl | more | |
Name = root | |
UID = 0 | |
Comment = | |
Gcos = root | |
HOME DIR = /root | |
Name = root | |
UID = 0 | |
Comment = | |
Gcos = Super-User | |
HOME DIR = / |
This file contains hidden or 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
[root@ tmp]# ohai etc | egrep -A3 -B 1 '^ "root": {' | |
"passwd": { | |
"root": { | |
"dir": "/", | |
"gid": 0, | |
"uid": 0, | |
-- | |
"group": { | |
"root": { | |
"gid": 0, | |
"members": [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment