[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Susu and Rum patch for coreutils-5.2.1
From: |
Alpt |
Subject: |
Susu and Rum patch for coreutils-5.2.1 |
Date: |
Thu, 2 Jun 2005 17:55:55 +0200 |
User-agent: |
Mutt/1.4.2.1i |
User-agent: |
hahaSRY |
Hi coreutils developers,
These below, are two patches that might be useful.
Ths susu patch brings the suauth functionality to coreutils.
It is a very simple patch to `su', which takes a list of uids from
/etc/susu_suauth. If a user is in the list, he can su to root without
password.
Moreover it adds the SU_FROM env variable which is a netbsdism, and it's
very handy. From man su in netbsd:
"...SU_FROM is set to the caller's login. The invoked shell is the target
login's. With the exception of SU_FROM this is the traditional behavior
of su."
The tiny readme of susu is here:
http://www.freaknet.org/alpt/src/utils/susu/readme
While you can take the patch here:
http://www.freaknet.org/alpt/src/utils/susu/susu-coreutils-5.2.1.patch
The second patch is rum.
You can directly read the readme here:
http://www.freaknet.org/alpt/src/utils/rum/
With the rum patch, rm will look at /etc/rm.conf and ~/.rm.conf, it will load a
list of protected files and directories, and it will not delete them.
To force the deletion of a protected entry the -ff option must be used.
(ex: rm -rff /etc).
I could't test the ROOT_CAN_UNLINK_DIRS case.
That's all.
Let me know what you think.
Best Regards.
--
:wq!
"I don't know nothing" The One Who reached the Thinking Matter '.'
[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9 5277 BFF8 037E 441C F0EE ]
pgpMwG1E5S1Qh.pgp
Description: PGP signature
- Susu and Rum patch for coreutils-5.2.1,
Alpt <=