Re: change owner

From: Aaron Morris (aaronmorris@MINDSPRING.COM)
Date: Wed May 28 2003 - 21:14:00 EDT


There is sudo or you could try setting the SUID bit on the chown command
for a single user using Extended Permissions (never tried the latter
personally).

Diego Kopel wrote:
> thank you
> in solaris there´s a parameter that you can change in /etc/system that
> allows you to do this
> is there anyway to do something similar on aix?
>
>
>
> Por favor, responda a IBM AIX Discussion List <aix-l@Princeton.EDU>
>
> Enviado por: IBM AIX Discussion List <aix-l@Princeton.EDU>
>
>
> Destinatarios: aix-l@Princeton.EDU
> CC:
>
> Asunto: Re: change owner
> Clasificación:
>
>
> only root can use chown if the man page is correct:
>
> "Only the root user can change the owner of a file. You can change the
> group
> of a
> file only if you are a root user or if you own the file. If you own the
> file
> but
> are not a root user, you can change the group only to a group of which you
> are a
> member."
>
> that's from an AIX 4.3.3 ml10 machine.
>
>
>>-----Original Message-----
>>From: Bob.Kelley@BRINKSINC.COM [mailto:Bob.Kelley@BRINKSINC.COM]
>>Sent: Wednesday, May 28, 2003 4:03 PM
>>To: aix-l@Princeton.EDU
>>Subject: Re: change owner
>>
>>
>>chown username filename
>>
>>
>>
>>
>>|---------+---------------------------->
>>| | Diego Kopel |
>>| | <dkopel@TA.TELECO|
>>| | M.COM.AR> |
>>| | Sent by: IBM AIX |
>>| | Discussion List |
>>| | <aix-l@Princeton.|
>>| | EDU> |
>>| | |
>>| | |
>>| | 05/28/2003 04:40 |
>>| | PM |
>>| | Please respond to|
>>| | IBM AIX |
>>| | Discussion List |
>>| | |
>>|---------+---------------------------->
>>
>>>-------------------------------------------------------------
>>
>>------------------------------------------------------------------|
>> |
>> |
>> | To: aix-l@Princeton.EDU
>> |
>> | cc:
>> |
>> | Subject: change owner
>> |
>>
>>
>>>-------------------------------------------------------------
>>
>>------------------------------------------------------------------|
>>
>>
>>
>>
>>hi, how can a user (that it´s not root) change the owner of
>>his own files?
>>thanks
>>
>>NOTICE TO BRINK'S EMPLOYEES:
>>All electronic mail communications composed, sent, received
>>or stored on or
>>through Brink's equipment are subject to the Brink's Electronic
>>Communications Policy. Employees should have no expectation
>>of privacy in
>>their use of the Company's electronic mail system.
>>
>
>
>
> http://www.telecom.com.ar
>

--
Aaron W Morris
decep
PGP Key ID:  259978D1


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:52 EDT