[SunHELP] Question - reset default OS Install Permissions for /etc - Solaris 9 on E250

Charles Shannon Hendrix shannon at widomaker.com
Tue May 27 11:12:18 CDT 2003


On Sat, May 24, 2003 at 08:20:17AM -0500, Jennings, Dave wrote:

> I've opened a case with SUN and they say that I'm pretty much SOL
> without doing a wipe and re-install or unless I want to try "boot cdrom
> -s" and copy over the contents of "/etc" from the CDROM to lay down over
> the OS.

Then Sun is clueless.

You need to boot in single user mode, and reset the permissions.

Get a list of proper permissions and apply them on the crippled machine.

This can be scripted without much trouble.

> Is there any other way to accomplish this or maybe even to the effect
> that I take the difference from my to files from running the "diff -ic"
> command and somehow incorporating this in a script with "chmod"

Why can't you use the script method?

You can use programs like mtree to take snapshots of file permissions,
and reapply them.

-- 
UNIX/Perl/C/Pizza____________________s h a n n o n at wido !SPAM maker.com



More information about the SunHELP mailing list