ws: Don't use getpwnam() directly, not thread-safe
ws: Don't use getpwnam() directly, not thread-safe

Fixes #479
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

sub-mod/cockpit,larsu/cockpit,SotolitoLabs/cockpit,xhad/cockpit,kkaempf/cockpit,sgallagher/cockpit,harishanand95/cockpit,darioajr/cockpit,larsu/cockpit,zigitax/cockpit,arilivigni/cockpit,cockpit-project/cockpit,zigitax/cockpit,cockpit-project/cockpit,zigitax/cockpit,dperpeet/cockpit,vanloswang/cockpit,Armstrong1992/cockpit,xhad/cockpit,martinpitt/cockpit,petervo/cockpit,vanloswang/cockpit,FireDrunk/cockpit,jscotka/cockpit,darioajr/cockpit,fridex/cockpit,evol262/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,FireDrunk/cockpit,netzvieh/cockpit,michalskrivanek/cockpit,Thermionix/cockpit,maxamillion/cockpit,maxamillion/cockpit,darioajr/cockpit,vanloswang/cockpit,deryni/cockpit,evol262/cockpit,larsu/cockpit,haiyangd/cockpit_view,sgallagher/cockpit,netzvieh/cockpit,mvollmer/cockpit,martinpitt/cockpit,sgallagher/cockpit,kkaempf/cockpit,jscotka/cockpit,FireDrunk/cockpit,evol262/cockpit,harishanand95/cockpit,dperpeet/cockpit,maxamillion/cockpit,jscotka/cockpit,denysvitali/cockpit,mareklibra/cockpit,jscotka/cockpit,kkaempf/cockpit,harishanand95/cockpit,mvollmer/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,garrett/cockpit,stefwalter/cockpit,petervo/cockpit,andreasn/cockpit,stefwalter/cockpit,fridex/cockpit,moraleslazaro/cockpit,Armstrong1992/cockpit,maxamillion/cockpit,netzvieh/cockpit,andreasn/cockpit,nmav/cockpit,firebitsbr/cockpit,denysvitali/cockpit,Thermionix/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,michalskrivanek/cockpit,martinpitt/cockpit,denysvitali/cockpit,Scribery/cockpit,firebitsbr/cockpit,andreasn/cockpit,matobet/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,haiyangd/cockpit_view,garrett/cockpit,cockpit-project/cockpit,andreasn/cockpit,xhad/cockpit,mareklibra/cockpit,cockpituous/cockpit,vbatts/cockpit,moraleslazaro/cockpit,sgallagher/cockpit,firebitsbr/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,petervo/cockpit,Thermionix/cockpit,andreasn/cockpit,haiyangd/cockpit_view,netzvieh/cockpit,vanloswang/cockpit,evol262/cockpit,deryni/cockpit,matobet/cockpit,larskarlitski/cockpit,sub-mod/cockpit,harishanand95/cockpit,jscotka/cockpit,stefwalter/cockpit,Scribery/cockpit,matobet/cockpit,kkaempf/cockpit,moraleslazaro/cockpit,dperpeet/cockpit,arilivigni/cockpit,deryni/cockpit,martinpitt/cockpit,sub-mod/cockpit,dperpeet/cockpit,arilivigni/cockpit,harishanand95/cockpit,sgallagher/cockpit,deryni/cockpit,cockpituous/cockpit,Scribery/cockpit,petervo/cockpit,vanloswang/cockpit,sub-mod/cockpit,matobet/cockpit,vbatts/cockpit,SotolitoLabs/cockpit,darioajr/cockpit,garrett/cockpit,vanloswang/cockpit,maxamillion/cockpit,netzvieh/cockpit,petervo/cockpit,nmav/cockpit,stefwalter/cockpit,arilivigni/cockpit,vanloswang/cockpit,haiyangd/cockpit_view,mareklibra/cockpit,Scribery/cockpit,jscotka/cockpit,matobet/cockpit,Thermionix/cockpit,matobet/cockpit,arilivigni/cockpit,harishanand95/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,nmav/cockpit,denysvitali/cockpit,larsu/cockpit,xhad/cockpit,sub-mod/cockpit,fridex/cockpit,FireDrunk/cockpit,fridex/cockpit,Scribery/cockpit,larsu/cockpit,cockpituous/cockpit,dperpeet/cockpit,cockpit-project/cockpit,darioajr/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,moolitayer/cockpit,larsu/cockpit,harishanand95/cockpit,evol262/cockpit,mareklibra/cockpit,andreasn/cockpit,Scribery/cockpit,nmav/cockpit,larskarlitski/cockpit,sgallagher/cockpit,xhad/cockpit,arilivigni/cockpit,kkaempf/cockpit,vbatts/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,vbatts/cockpit,deryni/cockpit,larskarlitski/cockpit,stefwalter/cockpit,fridex/cockpit,firebitsbr/cockpit,firebitsbr/cockpit,netzvieh/cockpit,cockpituous/cockpit,moolitayer/cockpit,garrett/cockpit,michalskrivanek/cockpit,moolitayer/cockpit,xhad/cockpit,sgallagher/cockpit,martinpitt/cockpit,michalskrivanek/cockpit,zigitax/cockpit,garrett/cockpit,stefwalter/cockpit,vbatts/cockpit,haiyangd/cockpit_view,mvollmer/cockpit,nmav/cockpit,Thermionix/cockpit,moolitayer/cockpit,denysvitali/cockpit,moolitayer/cockpit,Scribery/cockpit,vbatts/cockpit,zigitax/cockpit,deryni/cockpit,FireDrunk/cockpit,mareklibra/cockpit,larskarlitski/cockpit,stefwalter/cockpit,Thermionix/cockpit,xhad/cockpit,Armstrong1992/cockpit,fridex/cockpit,evol262/cockpit,SotolitoLabs/cockpit,Armstrong1992/cockpit,arilivigni/cockpit,petervo/cockpit,andreasn/cockpit,deryni/cockpit,mareklibra/cockpit,Armstrong1992/cockpit,petervo/cockpit