From 517566b9f173245938b855f8a928b2ba7d12a7c7 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Thu, 18 Mar 2010 16:57:13 -0700 Subject: Hardcode some paths. --- usr/src/libpiny/lib/Piny/Group.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/libpiny/lib/Piny') 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( ); }; -- cgit v1.2.3