1
0
mirror of https://github.com/Luzifer/password.git synced 2024-09-20 10:52:57 +00:00
password/vendor/github.com/tredoe/osutil/user/README.md

57 lines
1.4 KiB
Markdown
Raw Normal View History

user
====
Provides access to the users database. It is available for Linux (by now).
[Documentation online](http://gowalker.org/github.com/tredoe/osutil/user)
## 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](http://mozilla.org/MPL/2.0/),
unless otherwise noted.
Please read the [FAQ](http://www.mozilla.org/MPL/2.0/FAQ.html)
if you have further questions regarding the license.
* * *
*Generated by [Gowizard](https://github.com/tredoe/wizard)*