]> arthur.barton.de Git - netatalk.git/commitdiff
Support long usernames. From Alain Richard.
authorfranklahm <franklahm>
Wed, 23 Dec 2009 11:09:25 +0000 (11:09 +0000)
committerfranklahm <franklahm>
Wed, 23 Dec 2009 11:09:25 +0000 (11:09 +0000)
contrib/macusers/macusers.in

index 0c44430b788fd450d74d31809ff666858ec7b0e5..64aa0f59dcff2daa2132c937f19d19d357b6475a 100644 (file)
@@ -21,7 +21,7 @@ if ($^O eq "freebsd" || $^O eq "openbsd") {
         $PS_STR    = "-awwxouser,pid,ppid,start,command";
         $MATCH_STR = '(\w+)\s+(\d+)\s+(\d+)\s+([\d\w:]+)';
 } else {
-        $PS_STR    = "-ef";
+        $PS_STR    = "-eo user:32,pid,ppid,c,stime,tty,time,cmd";
         $MATCH_STR = '\s*(\w+)\s+(\d+)\s+(\d+)\s+\d+\s+([\d\w:]+)';
 }
 $ASIP_PORT    = "afpovertcp";