How to Fix Boot or Login Issues Due to Permission Changes on OS Files (Doc ID 1010298.1)

Last updated on APRIL 04, 2017

Applies to:

Solaris x64/x86 Operating System - Version 8 6/00 U1 and later
Solaris Operating System - Version 8.0 and later
All Platforms

Goal

A system may fail to boot properly if permissions, groups and owners are accidentally changed using the chmod and chown commands on operating system files or directories.

Possible errors reported include:

 Or it may not be possible to login into the system:

console login: root  
Dec  23 02:13:57 box login[1821]: open_pam_conf: /etc/pam.conf writable by group

This document details how to reset the Solaris Operating System permissions, groups and owners back to the default values to allow the system to boot again.

Make certain that you know the system's root file system type and configuration before beginning.
Is the system using UFS or ZFS root?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms