tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: claudia chiarenza <claudia.chiarenza () asu ! edu>
To: tru64-unix-managers
Subject: SUMMARY: permissions in / and down got messed up
Date: Mon, 20 Nov 2000 15:38:19 +0000	[thread overview]
Message-ID: <97473467508638.tru64-unix-managers.marc@archive.invalid> (raw)



Hi all

Many thanks to the very quick and helpful respondents.

	"Dr. Tom Blinn, 603-884-0646" <tpb@doctor.zk3.dec.com>
	Chris Ruhnke/St Louis/IBM <ruhnke@us.ibm.com>
	Frank Wortner <frank@bondnet.com>
	"Lavelle, Bryan" <Bryan.Lavelle@compaq.com>
	"Davis, Alan" <Davis@tessco.com>
	James Sainsbury <sainsb_j@chem.usyd.edu.au>
	Wagner, Ronald P" <ronald.p.wagner@lmco.com>
	Peter.Stern@weizmann.ac.il
	"Bochnik, William J" <BochnikWJ@bernstein.com>
	Richard Westlake <r.westlake@mail.cryst.bbk.ac.uk>
	Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
	Lars Bro <Lars.Bro@gnnettest.com>
	Joerg Bruehe <joerg@sql.de>
	"Tschermernig, Dieter" <dieter.tschermernig@joanneum.ac.at>


i am happy to say my problem is mostly fixed at this point! i got two,
well three, basic types of answers:

	fverify
	some sort of script in conjunction with the backup
	shoot my advisor / other bad advisor stories / have him clean up mess

i have gone with a two part solution.  first, an fverify use as perscribed
by Dr. Tom Blinn (as well as others, i just got his email first). he
suggested runing it in conjunction with a listing of the lock files in

	/usr/.smdb.

this would look specifically at installed software, as opposed to a
default listing.  the man pages on fverify are pretty clear, so those
needing it should have no problem using it.  the things i find worth
mentioning are that it does check checksums which will change on some
files (like passwd) and if you use a -p flag fverify will not think of
these as errors.  it can be run interactively or with a -y for non
interactive runs.

as i also have a set of locally specific software in /usr/local i am also
hoping to use the script method in conjunction with a backup.  as many
people suggested, i can use a recursive script to check permissions and
then issue a chmod command.  i am hoping to modify some already offered
existant script on this matter so as to not reinvent the wheel.

also, James Sainsbury suggested that if i use tripwire then the permission
would also be stored in that database.  i do not, but for those that do,
it is probably valuable info.

Alan Davis suggested that if i log a call with the unix expert team they
will send a script called allverify that will eliminate spurrious error
messages on patched files.  i did not feel this worth my time at this
point as i could handle the spurrious messages - altho knowing there would
be some was helpful and reassuring when they came up.  i believe it is the
script sent to me by Wagner, Ronald P" <ronald.p.wagner@lmco.com>.

the bottom line - fverify good, advisor bad, write scripts very carefully.

thanks!
ciao
claudia



****************** initial message ************************************

hi all

due to some problems with permissions in a shared directory space i wrote
a script to change permissions to a+rw in that directory.  one of the
users su'd in and tried to run it and did so in /  the problem is, the
program changes permissions recursively so many subdirectories are now
messed up.  i tried to make some manual comparisons and changes but this
would take hours - maybe days.  i have backup that is ~2 months old.  it
would certainly work over a reinstall or many other things, but i wonder
what other solutions are out there.  i guess my questions are then:

        1) is there anything i can do to fix the permission in the
        necessary directories?
                /, /usr and sub dirs: /etc, /dev, /opt, /shlib, /tcb
                /etc, /proc, /subsys, /usr, /mdec, /sbin, /sys

        2) if i have to restore from dumps what is the best method for
        doing this?  i presume it will involve a system disk and a reboot.

any help/advice would be greatly appreciated!

ciao
claudia

aside:  before anyone yells at someone having root passwds, he is my
advisor in grad school.  his arguments are that they are his $%%^&
computers and he had better @#%% have the passwd.  i am not sure it was
him, but i see no other alternative.

                 reply	other threads:[~2000-11-20 15:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox