Mailinglist Archive: opensuse (3506 mails)

< Previous Next >
Re: [SLE] root user ID number accidentally changed on files
  • From: Jon Clausen <jon@xxxxxxx>
  • Date: Tue, 12 Sep 2006 05:02:33 +0000 (UTC)
  • Message-id: <20060912050226.GA3985@xxxxxxxxxxx>
On Mon, 11 Sep, 2006 at 14:37:21 -0700, James D. Parra wrote:
> Hello,
>
> Short story; accidentally created a user with user ID of '0'. Went to change
> the ID of all the files owned by the user to the proper ID and now all the
> root user files have the four digit ID.
>
> How can I quickly (real quick) change the four digit ID on the files owned
> by root back to '0' recursively.

Unless I'm missing something;

SuSEconfig

- ought to do it for you?

(It checks file ownership/privs agains /etc/permissions and friends, and
corrects anything out of 'sync')

/Jon
--
YMMV

< Previous Next >
References