Ubic::Credentials::OS::POSIX - POSIX-specific credentials implementation
- user()
- Get user name.
- group()
- Get list of group names.
- real_user_id()
- Get numeric real user id.
- effective_user_id()
- Get numeric effective user id.
- real_group_id()
- Get numeric real group id.
- effective_group_id()
- Get numeric effective group id.
I'm not quite sure this module is POSIX-compatible. It makes use of
complementary groups which are probably not implemented on some POSIX-based
systems.
It needs to be refactored into separate
"Ubic::Crendentials::OS::POSIX" and
"Ubic::Crendentials::OS::Linux"
modules.
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
This software is copyright (c) 2015 by Yandex LLC.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.