[plug] /etc/profile

Peter Wilsmore djinn at ucc.gu.uwa.edu.au
Mon Aug 14 10:44:24 WST 2000


On Mon, Aug 14, 2000 at 09:37:41AM +0800, Earnshaw, Mike wrote:
> List,
> 
> Can someone please explain the following lines from /etc/profile?
> 
> ulimit -c 1000000

This is already covered in the previous post

> 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 )

hohum,
  the Djinn




More information about the plug mailing list