user_group.cr v0.1.5
user_group.cr
Adds System Users and Groups.
Installation
Add this to your application's shard.yml:
dependencies:
user_group:
github: chris-huxtable/user_group.cr
Usage
require "user_group"
Adds features like:
Process.become(System::User.get("nobody"))Process.become(System::Group.get("nobody"))Process.userProcess.groupSystem::User.get("root").shellSystem::Group.get("wheel").membersa_pointer.to_slice_null_terminated(a_limit)(useful for converting the Char** to an Array(String))
Contributing
- Fork it ( https://github.com/chris-huxtable/user_group.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- Chris Huxtable - creator, maintainer
Repository
user_group.cr
Owner
Statistic
- 5
- 1
- 1
- 4
- 0
- over 5 years ago
- May 1, 2018
License
ISC License
Links
Synced at
Sat, 13 Dec 2025 04:33:15 GMT
Languages