safe-rm 0.3 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News safe-rm 0.3 (Default branch)
# 1  
Old 09-09-2008
safe-rm 0.3 (Default branch)

safe-rm is intended to prevent the accidental deletion of important files by replacing /bin/rm with a wrapper which checks the given arguments against a configurable blacklist of files and directories that should never be removed. Users who attempt to delete one of these protected files or directories will not be able to do so and will be shown a warning message instead. Protected paths can be set both at the site and user levels. License: GNU General Public License v3 Changes:
This release fixes a bug which caused safe-rm to skip the full blacklist checks when dealing with certain files and directories in the working directory. Previously, unless the argument you passed to safe-rm contained a slash, it would not get the real (absolute) path of the file before checking against the blacklist. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
ikisite-wrapper(1)					      General Commands Manual						ikisite-wrapper(1)

NAME
ikisite-wrapper - suid wrapper for ikisite SYNOPSIS
ikisite-wrapper subcommand options DESCRIPTION
ikisite-wrapper is a wrapper around ikisite. It is designed to be safely made suid root, though it is not currently suid by default. A few ikisite subcommands can be run using the wrapper without any authorisation at all. These include: create, branch, list, sitelookup, checklock, updatecustomersite, and enabledns. So making the wrapper suid allows any user to create a site. Other ikisite subcommands can only be run using the wrapper by users who specify a nonce in the IKISITE_NONCE environment variable. These include: delete, changesetup, domains, and deletenonce. A site's current nonces are stored in its .ikisite-nonce file. A nonce can be generated by root or the site's user via using the creat- enonce subcommand, but it's usually generated by passing --createnonce to the create or branch subcommands. This allows anyone to create or branch a site and then use the nonce to allow further configuration of it (and delete it if something goes wrong). Subcommands that can be called by the wrapper either without or with a nonce should be sure to fully validate their inputs. SEE ALSO
ikisite(1) AUTHOR
Joey Hess <joey@ikiwiki.info> ikisite-wrapper(1)