**
use at your own risk.
**
I am serious! use at your own risk!
The method I use works by creating a second UID=0 account (named 'install') whose primary group is 'install'. After creating this account, change the 'shadow' entry for the password to a single '!'. This will prevent logins via that account; so you have to 'su' to it after you 'su' to root.
then (as a user, prefereably not ROOT and definately not 'install'), unpack and untar the tarball. ./configure and make; the su to root su to install. make install. move the files wherever you want. exit user 'install'. Then execute "find / -xdev -group install | sed -e '/^\/tmp\/.*/d' >_filename_ " to get a list of the files and dump them in "_filename_". You can then (bash)
to set the permissions sensibly and change the owner to root and the group to users.
Later; using the saved file, you can delete them in much the same way:
Please note that I have not thouroghly tested it -- so again, use at your own risk. I have made a script to ease the process. Before you delete the files, make sure that none of them would be disasterous if missing: ie, "/usr/lib" or something similar (but the Makefile should not be setting the perms of directories like that...).
bash script follows:
[ edit: currently partly broken; the parsing engine acts funny when spaces are in the file/directory name
You might want to edit the path specific entities (ie, the initial "cd" and the paths for "find").
The filenames have an appended ".files" and they contain only the full path spec of each file found by "find".
Hope it helps.
-t.
[ December 09, 2002: Message edited by: beltorak0 ]
[ December 10, 2002: Message edited by: beltorak0 ]