[KLUG Members] setting user id

Bruce Smith members@kalamazoolinux.org
14 Oct 2003 13:37:30 -0400


> How can I change the user id of a file (ownership) from the command line?
> 
> Assume RH 7.3, some static file, and already logged in as root.
> 
> I guessed and tried
> 
> setuid username filename
> 
> But it replied setuid: command not found

chown username filename
 
--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------