root> /etc/init.d/lighttpd.sh stop
which takes down lighttpd and the nasMaster.pl FCGI script.
Then edited /etc/init.d/network_servers.sh to disable start and stop of lighttpd at startup and shutdown.
Then manually updated /var/oxsemi/shares.inc to add a new share.
Then
root> reboot
When the machine comes back up, the file has not been overwritten. A-ha! One of the last things nasMaster.pl does before entering the CGI dispatch loop is invoke Service::Shares->createDefault() but all this does, as far as I can see is delete and recreate the [PUBLIC] share.
Service::Shares also defines a deleteAllExternal() method which would certainly hae the same effect I'm seeing, but where is it called...?
I feel like Columbo. I know who did it and now just need to badger them into making a mistake to get the proof I need.
Subscribe to:
Post Comments (Atom)
1 comment:
Note to self - /etc/init.d/S27shares-cleanup is calling /usr/www/lib/removeExternalShares.pl. Easy to remove from startup but presumably it's doing a good job in other regards. look at only removing external shares which are related to any removed during cleanlock.
Post a Comment