user_group
Version, currently 0.1.56 versions
github.com/chris-huxtable/user_group.cr
Adds System Users and Groups.
5 stars
2 dependents
License: ISC
Installation
# Add this to your shard.yml
dependencies:
user_group:
github: chris-huxtable/user_group.cr
version: ~> 0.1.5Then run:
shards installshard.yml
- Crystal
0.24.2- License
- ISC
- Author
- Chris Huxtable
Dependencies
This version declares no dependencies.
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.5- Tagged
- Apr 5, 2020
- Commit
792f1f4725b4- Crystal
0.24.2- Indexed
- yes
Dependents
Repository
github.com/chris-huxtable/user_group.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 6