readonlyuser Icon

readonlyuser

A user read-only access account.

Add a Review
0 Downloads (This Week)
Last Update:
Download readonlyuser.zip
Browse All Files
Solaris

Description

A user read-only access account.

Note: As the filesystem is read only, some commands won't work, such as vi that requires write access into /var/tmp to create a temporary file.

To setup read-only access a "new root" directory such are "/var/read-only" is created,.Under this directory "/" is mounted as read-only.

Here is a diagram of the directory structure.

/
| | | |
var usr adm <etc>
|
read-only
|
/ (Note: this link is a read-only mount of /)
| | | |
var usr adm <etc> (Note: these directories are picked up even if they are separate mounted filesystems.)
|
read-only
(Note: no it doesn't get cyclic at this point)

When a user logs in, instead of running a shell such as /sbin/sh in the password file, readonlyshell which has suid privileges runs. It changes the root directory for the user to "/var/read-only", sets a couple of shell variables and changes directory to the "/" directory, now "/var/read-only". Lastly it runs a bash shell.

readonlyuser Web Site

KEEP ME UPDATED

Other Useful Business Software

Protect your Network & Cloud Assets with USM Anywhere Icon

Discover a better way to detect & respond to threats before they impact your business with AlienVault USM Anywhere.

Protect your Network & Cloud Assets with USM Anywhere Icon
AlienVault® Unified Security Management™ (USM™) is an innovative approach to security monitoring, delivered in a unified platform. The USM platform includes five essential security capabilities that provide resource-constrained organizations with everything they need for effective threat detection, incident response, and compliance management, in a single pane of glass.
Write a Review

User Reviews

Be the first to post a review of readonlyuser!

Additional Project Details

Intended Audience

System Administrators

User Interface

Command-line

Programming Language

C

Registered

2012-06-20

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks