├── AUTHORS.md ├── CONTRIBUTORS.md ├── Doc └── info.txt ├── LICENSE-MPL.txt ├── README.md ├── config ├── env │ ├── Info.md │ ├── env.go │ └── env_test.go └── shconf │ ├── scan.go │ ├── scan_test.go │ ├── shconf.go │ └── shconf_test.go ├── distro ├── distro.go └── distro_test.go ├── file ├── a_test.go ├── doc.go ├── edit.go ├── edit_test.go ├── find.go ├── find_test.go ├── info.go ├── info_test.go ├── io.go ├── io_test.go └── z_test.go ├── go.mod ├── internal └── reflect.go ├── osutil.go ├── osutil_test.go ├── pkgutil ├── Info.md ├── deb.go ├── ebuild.go ├── pacman.go ├── pkg.go ├── pkg_test.go ├── rpm.go └── zypp.go ├── sh ├── log.go ├── sh.go └── sh_test.go └── user ├── README.md ├── a_test.go ├── config_linux.go ├── config_test.go ├── crypt.go ├── crypt ├── AUTHORS.md ├── LICENSE ├── README.md ├── apr1_crypt │ ├── apr1_crypt.go │ └── apr1_crypt_test.go ├── common │ ├── base64.go │ ├── doc.go │ ├── salt.go │ └── salt_test.go ├── crypt.go ├── md5_crypt │ ├── md5_crypt.go │ └── md5_crypt_test.go ├── sha256_crypt │ ├── sha256_crypt.go │ └── sha256_crypt_test.go └── sha512_crypt │ ├── sha512_crypt.go │ └── sha512_crypt_test.go ├── crypt_test.go ├── dbfile.go ├── doc.go ├── error.go ├── file.go ├── group.go ├── group_test.go ├── gshadow.go ├── gshadow_test.go ├── id.go ├── id_test.go ├── shadow.go ├── shadow_test.go ├── user.go ├── user_test.go ├── util.go ├── util_test.go └── z_test.go /AUTHORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/AUTHORS.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /Doc/info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/Doc/info.txt -------------------------------------------------------------------------------- /LICENSE-MPL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/LICENSE-MPL.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/README.md -------------------------------------------------------------------------------- /config/env/Info.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/env/Info.md -------------------------------------------------------------------------------- /config/env/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/env/env.go -------------------------------------------------------------------------------- /config/env/env_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/env/env_test.go -------------------------------------------------------------------------------- /config/shconf/scan.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/shconf/scan.go -------------------------------------------------------------------------------- /config/shconf/scan_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/shconf/scan_test.go -------------------------------------------------------------------------------- /config/shconf/shconf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/shconf/shconf.go -------------------------------------------------------------------------------- /config/shconf/shconf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/config/shconf/shconf_test.go -------------------------------------------------------------------------------- /distro/distro.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/distro/distro.go -------------------------------------------------------------------------------- /distro/distro_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/distro/distro_test.go -------------------------------------------------------------------------------- /file/a_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/a_test.go -------------------------------------------------------------------------------- /file/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/doc.go -------------------------------------------------------------------------------- /file/edit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/edit.go -------------------------------------------------------------------------------- /file/edit_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/edit_test.go -------------------------------------------------------------------------------- /file/find.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/find.go -------------------------------------------------------------------------------- /file/find_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/find_test.go -------------------------------------------------------------------------------- /file/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/info.go -------------------------------------------------------------------------------- /file/info_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/info_test.go -------------------------------------------------------------------------------- /file/io.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/io.go -------------------------------------------------------------------------------- /file/io_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/io_test.go -------------------------------------------------------------------------------- /file/z_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/file/z_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/go.mod -------------------------------------------------------------------------------- /internal/reflect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/internal/reflect.go -------------------------------------------------------------------------------- /osutil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/osutil.go -------------------------------------------------------------------------------- /osutil_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/osutil_test.go -------------------------------------------------------------------------------- /pkgutil/Info.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/Info.md -------------------------------------------------------------------------------- /pkgutil/deb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/deb.go -------------------------------------------------------------------------------- /pkgutil/ebuild.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/ebuild.go -------------------------------------------------------------------------------- /pkgutil/pacman.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/pacman.go -------------------------------------------------------------------------------- /pkgutil/pkg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/pkg.go -------------------------------------------------------------------------------- /pkgutil/pkg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/pkg_test.go -------------------------------------------------------------------------------- /pkgutil/rpm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/rpm.go -------------------------------------------------------------------------------- /pkgutil/zypp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/pkgutil/zypp.go -------------------------------------------------------------------------------- /sh/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/sh/log.go -------------------------------------------------------------------------------- /sh/sh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/sh/sh.go -------------------------------------------------------------------------------- /sh/sh_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/sh/sh_test.go -------------------------------------------------------------------------------- /user/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/README.md -------------------------------------------------------------------------------- /user/a_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/a_test.go -------------------------------------------------------------------------------- /user/config_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/config_linux.go -------------------------------------------------------------------------------- /user/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/config_test.go -------------------------------------------------------------------------------- /user/crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt.go -------------------------------------------------------------------------------- /user/crypt/AUTHORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/AUTHORS.md -------------------------------------------------------------------------------- /user/crypt/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/LICENSE -------------------------------------------------------------------------------- /user/crypt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/README.md -------------------------------------------------------------------------------- /user/crypt/apr1_crypt/apr1_crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/apr1_crypt/apr1_crypt.go -------------------------------------------------------------------------------- /user/crypt/apr1_crypt/apr1_crypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/apr1_crypt/apr1_crypt_test.go -------------------------------------------------------------------------------- /user/crypt/common/base64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/common/base64.go -------------------------------------------------------------------------------- /user/crypt/common/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/common/doc.go -------------------------------------------------------------------------------- /user/crypt/common/salt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/common/salt.go -------------------------------------------------------------------------------- /user/crypt/common/salt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/common/salt_test.go -------------------------------------------------------------------------------- /user/crypt/crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/crypt.go -------------------------------------------------------------------------------- /user/crypt/md5_crypt/md5_crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/md5_crypt/md5_crypt.go -------------------------------------------------------------------------------- /user/crypt/md5_crypt/md5_crypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/md5_crypt/md5_crypt_test.go -------------------------------------------------------------------------------- /user/crypt/sha256_crypt/sha256_crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/sha256_crypt/sha256_crypt.go -------------------------------------------------------------------------------- /user/crypt/sha256_crypt/sha256_crypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/sha256_crypt/sha256_crypt_test.go -------------------------------------------------------------------------------- /user/crypt/sha512_crypt/sha512_crypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/sha512_crypt/sha512_crypt.go -------------------------------------------------------------------------------- /user/crypt/sha512_crypt/sha512_crypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt/sha512_crypt/sha512_crypt_test.go -------------------------------------------------------------------------------- /user/crypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/crypt_test.go -------------------------------------------------------------------------------- /user/dbfile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/dbfile.go -------------------------------------------------------------------------------- /user/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/doc.go -------------------------------------------------------------------------------- /user/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/error.go -------------------------------------------------------------------------------- /user/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/file.go -------------------------------------------------------------------------------- /user/group.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/group.go -------------------------------------------------------------------------------- /user/group_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/group_test.go -------------------------------------------------------------------------------- /user/gshadow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/gshadow.go -------------------------------------------------------------------------------- /user/gshadow_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/gshadow_test.go -------------------------------------------------------------------------------- /user/id.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/id.go -------------------------------------------------------------------------------- /user/id_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/id_test.go -------------------------------------------------------------------------------- /user/shadow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/shadow.go -------------------------------------------------------------------------------- /user/shadow_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/shadow_test.go -------------------------------------------------------------------------------- /user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/user.go -------------------------------------------------------------------------------- /user/user_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/user_test.go -------------------------------------------------------------------------------- /user/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/util.go -------------------------------------------------------------------------------- /user/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/util_test.go -------------------------------------------------------------------------------- /user/z_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tredoe/osutil/HEAD/user/z_test.go --------------------------------------------------------------------------------