No description, website, or topics provided.
Perl 6
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
lib/System Do not stringify the junction before matching Aug 18, 2017
t Use fullname returned by previous test as not guaranteed to be "root" May 28, 2015
.gitignore
.travis.yml Add Travis-CI configuration Nov 19, 2016
LICENSE initial commit Nov 17, 2014
META.info Update source-url Aug 19, 2017
README.pod updated description Dec 15, 2014

README.pod

NAME

System::Passwd - easily search for system users

DESCRIPTION

System::Passwd is a Perl 6 distribution for searching the /etc/passwd file. It provides subroutines to search for a System::Passwd::User user by uid, username or full name.

SYNOPSIS

use System::Passwd;

my $root_user = get_user_by_uid(0);

say $root_user.username;
say $root_user.uid;
say $root_user.gid;
say $root_user.fullname;
say $root_user.login_shell;
say $root_user.home_dir;

# can search for users other methods
my $user = get_user_by_username('sillymoose');

# or:
my $user = get_user_by_fullname('David Farrell');

LICENSE

FreeBSD - see LICENSE

AUTHOR

David Farrell