Thread Herausfinden ob mann root ist
(5 answers)
Opened by Lebowski at 2011-07-06 23:57 oder Code (perl): (dl
)
1 2 3 my $user_name = $ENV{LOGNAME} || $ENV{USER} || getpwuid($<); if ($user_name eq 'root') { } Last edited: 2011-07-07 10:37:42 +0200 (CEST) |