My Oracle Support Banner

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

Last updated on JUNE 09, 2022

Applies to:

Solaris x64/x86 Operating System - Version 8 6/00 U1 and later
Solaris Operating System - Version 8 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:

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
 Steps for Solaris 10 
 Boot the system from the failsafe archive or into single-user mode from one of the alternate media listed below
 Failsafe boot archive
 Solaris CD/DVD media
 Solaris net install image
 Mount the root file system
 Steps for UFS root
 Steps for ZFS root
 Correct the Solaris OS permissions, owners, groups
 Unmount the OS file systems and reboot the system
 Steps for UFS root
 Steps for ZFS root
 Steps for Solaris 11
 Boot the system into single-user mode from one of the alternate media listed below
 Solaris CD/DVD media
 Solaris net install image
 Mount ZFS root
 Correct the Solaris OS permissions, owners, groups
 Unmount the OS file systems and reboot the system
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.