diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-03-18 16:57:13 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-03-18 16:57:13 -0700 |
commit | 517566b9f173245938b855f8a928b2ba7d12a7c7 (patch) | |
tree | 6670d2b17caf0471aa05b253b00fefcdbf390964 /usr/src/libpiny/lib/Piny/Group.pm | |
parent | 6c23e85dc0b0e88460982def7f9705fd12530513 (diff) | |
download | piny-code-517566b9f173245938b855f8a928b2ba7d12a7c7.tar.gz piny-code-517566b9f173245938b855f8a928b2ba7d12a7c7.zip |
Hardcode some paths.
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Group.pm')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Group.pm | 4 |
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( ); }; |