[PATCH] kdesu for FreeBSD non-wheel users

Waldo Bastian bastian at kde.org
Wed Nov 12 16:19:17 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed November 12 2003 16:10, Oswald Buddenhagen wrote:
> i think that's wrong. potentially every system can have a wheel group,
> particularily those which use pam can be trivially configured to do so.
> instead, the prompt recognizion should be improved. i mean, a prompt is
> really not that hard to recognize: it ends with a colon (minus trailing
> whitespace), has no trailing newline, and the program hangs afterwards
> (i.e., does not exit or output something else).

Yes, I agree.

Btw, the comment in su.cpp says: 
	// Match "Password: " with the regex ^[^:]+:[\w]*$.

I actually fail to see how 
	"su: you are not allowed to su root"
would match that.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/sl2GN4pvrENfboIRAoMDAJ9RCOUoEUTXMfTzlENWD140W+u4dACglZAT
6P1IrQRWLcJnKk1HI8FLNDs=
=K8d1
-----END PGP SIGNATURE-----



More information about the kde-core-devel mailing list