[6247] in RedHat Linux List
Re: Permissions
daemon@ATHENA.MIT.EDU (Skull)
Tue Nov 26 14:03:22 1996
Date: Tue, 26 Nov 1996 13:46:55 -0500
To: redhat-list@redhat.com
From: Skull <skull@yakko.cs.wmich.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>On Tue, 26 Nov 1996, Skull wrote:
>
>> >I just set up a new mail server under the 2.0.0 redhat kernel. I moved
>> >my entire passwd file over from another machine and need to change the
>> >permissions around.
>>
>> >Does anyone know the how to do a mass change owner where all four hundred
>> >clients get changed to the right ownership.
>> Change ownership of what? the mail spool files?? You need to be more
specific.
>> try man chown ...
>>
>> Darron
>
>The change ownership of the users mail directories. The spool mail will
>have to be done as well. I just don't want to go in and change each
>individual account, I want to do a mass change ownership to make each
>owner the correct one when dealing with their individual accounts.
>
>Jason
>
hmm, I'm afraid I can't help you, I think you'll have to do it by hand
unless you find/make a script that parses the passwd file and does a
chown on a home directory based off of that. I know chown -R user.group
/home/user
will recursively rechown all files in that directory to that user and group,
but you will still have to do that for each person as there isn't a multi
chown
that I am aware of. I don't think any such tool exists for what you desire,
correct me if I'm wrong to anyone else who knows better.
Darron
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null