UNIX commands from the inside

You can run every external command using `system`
but it makes it platform dependent and might have more security implications.

The following calls are available from Perl.
There are more but we won't cover them now.

my $uid = getpwnam($username);
my $gid = getgrnam($groupname);

How to remove, copy or rename a file with Perl