[2764] in bugtraq
Re: BoS: amodload.tar.gz - dynamic SunOS modules
daemon@ATHENA.MIT.EDU (Dave Matthews)
Fri Jun 21 01:31:41 1996
Date: Fri, 21 Jun 1996 14:52:24 +1000
Reply-To: Bugtraq List <BUGTRAQ@NETSPACE.ORG>
From: Dave Matthews <dm@alphasun.anu.edu.au>
To: Multiple recipients of list BUGTRAQ <BUGTRAQ@NETSPACE.ORG>
Markus wrote:
> I have wondered about how to set up a system with a read only / and /usr
> partition, but as you say things like mount wanting to write into /etc
> really spoil the idea. Does anyone have a list of issues that stop /
> and /usr being mounted read only (either logically or physically, or on
> read only media) on a machine running say Solaris ? I'll start off the
> list with the following.
>
I'd also include: (some of these are Sol 2.x specific)
> Program/system writes to
>
> mountd /etc/mnttab
/etc/rmtab and /etc/.mnttab.lock
> automountd /etc/mnttab
> passwd /etc/passwd /etc/shadow
/etc/opasswd /etc/oshadow
> syslogd /etc/syslog.pid
> crond /etc/cron.d/FIFO
> opie /etc/opiekeys
skey /etc/skeykeys ... depends on skey config
>
sendmail /etc/mail/aliases .. if you update your aliases
here
lp /etc/lp/..... updates for warning/status messages etc
init /etc/initpipe
utmpd /etc/utmppipe
also, /etc/inet/hosts, /etc/group, and /etc/dfs/* would probably be modified
on a lot of systems.....one of the default startup scripts in Sol 2.x writes
to /etc/dfs/sharetab..
About /dev, /devices - some of Sun's startup scripts chmod these on startup.
Also, there would be problems with a lot of other devices, not to mention
pseudo ttys, hard disks, and almost as important, /dev/audio* :)
Dave
----------------------------------------------------------------------------
Dave Matthews Senior Programmer
email: dm@alphasun.anu.edu.au School of Mathematical Sciences
phone: (06) 249 3833, int. +61 6 249 3833 Australian National University
fax : (06) 249 5549, int. +61 6 249 5549 CANBERRA ACT 0200
----------------------------------------------------------------------------