chown and chgrp

From: John Robens <jrobens_at_davidjones.com.au>
Date: Tue, 19 May 1998 16:03:26 +1000

The man page for chown states:

[Digital] Only a user with superuser authority can use the chown command.

I have a number of scripts which use chown and chmod to give files away for
other processes to pick up, which were developed on other systems, but now
need to be migrated to DU.

Each process may run as a different user, and this handshaking was the best
way to implement security between the processes. This process isolated the
files for a given process until they were copied to another area and the
ownership given away.

We have considered putting a suid on the chown and chgrp commands so that
any user can run them, but this means that a users could chown a file that
they don't have access to read, to their own user and then have full access
to the file.

Does anyone know of a way to configure the chown command on DU to be safe
for general users to use.

We are using DU4.0D.






John Robens
Unix System Administrator -
DAVID JONES LIMITED ACN 000 074 573
Phone: 02 9266 6014
Fax:
Mobile: 0414 344 222
Received on Tue May 19 1998 - 08:04:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT