1
0
Fork 0
mirror of https://github.com/Luzifer/password.git synced 2024-12-30 01:31:18 +00:00
password/vendor/github.com/tredoe/osutil/user/README.md
Knut Ahlers 8af625be60
Fix: Vendor new dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-06 22:59:38 +02:00

1.4 KiB

user

Provides access to the users database. It is available for Linux (by now).

Documentation online

Installation

go get github.com/tredoe/osutil/user

To run the tests, it is necessary to run them as root.
Do not worry because the tests are done in copies of original files.

sudo env PATH=$PATH GOPATH=$GOPATH go test -v

Status

BSD systems and Windows unsopported.

The only backend built is to handle files (such as '/etc/passwd'), and it it not my priority to handle other backends like LDAP or Kerberos since my goal was to can use it in home systems.

My list of priorities are (for when I have time):

  • BSD systems (included Mac OS)
  • Windows

Configuration

Some values are got from the system configuration, i.e. to get the next available UID or GID, but every distribution of a same system can have a different configuration system.

In the case of Linux, the research has been done in 10 different distributions:

Arch
CentOS
Debian
Fedora
Gentoo
Mageia (Mandriva's fork)
OpenSUSE
PCLinuxOS
Slackware
Ubuntu

License

The source files are distributed under the Mozilla Public License, version 2.0, unless otherwise noted.
Please read the FAQ if you have further questions regarding the license.


Generated by Gowizard