[plug] /etc/profile

Matt Kemner zombie at wasp.net.au
Mon Aug 14 10:56:58 WST 2000


On Mon, 14 Aug 2000, Peter Wilsmore wrote:

> > if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
> 
> out of interest, this is a fairly good way of checking if a particular
> uid is a user and not root ( the default add user scripts tend to make
> new users with gid's the same as their uid )

I'm curious as to what the next few lines say.

My bet's on something like:

 umask 002
else
 umask 022
fi

 - Matt




More information about the plug mailing list