summaryrefslogtreecommitdiff
path: root/usr/src/libpiny/lib/Piny
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/libpiny/lib/Piny')
-rw-r--r--usr/src/libpiny/lib/Piny/Group.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/libpiny/lib/Piny/Group.pm b/usr/src/libpiny/lib/Piny/Group.pm
index c1df42d..a4d3c27 100644
--- a/usr/src/libpiny/lib/Piny/Group.pm
+++ b/usr/src/libpiny/lib/Piny/Group.pm
@@ -41,7 +41,7 @@ sub add_member {
my ( $s, @users ) = @_;
foreach my $user ( @users ) {
- system( "adduser", $user->username( ), $s->groupname( ) );
+ system( "/usr/sbin/adduser", $user->username( ), $s->groupname( ) );
$user->clear_groups( );
};
@@ -52,7 +52,7 @@ sub remove_member {
my ( $s, @users ) = @_;
foreach my $user ( @users ) {
- system( "deluser", $user->username( ), $s->groupname( ) );
+ system( "/usr/sbin/deluser", $user->username( ), $s->groupname( ) );
$user->clear_groups( );
};