installing as suid root
Sat Jan 5 20:53:02 2002
-----BEGIN PGP SIGNED MESSAGE-----
Nick Wilson wrote (2002-01-05 T 17:11 +0100):
> I'm having a little trouble with the concept of suid root of setuid.
> I've seen the FAQ and the HOWTO on the gnupg pages and there is
> certainly talk of 'running gpg as suid root' to avoid 'insecure
> memory' warnings but no mention of HOW to do this?
> I've just re-installed gpg as root but I'm still getting the
> warnings. I know this is my understanding rather than a bug but that
> knowledge doesn't help.
> Can someone please explain what and how I should be doing this?
I am so not the best person to be asking this, but I believe this is to
do with your file permissions on the GnuPG executable. As well as the
regular (755) perms, you can set a higher digit. If you chmod 4755 and
the executable is owned by root, then the executable should always be
run using the permissions of root.
I'm sure I'll rapidly be corrected, should I be wrong... :o)
Owen Blacker | Senior Software Developer and InfoSecurity Consultant
See http://www.owens-place.org.uk/pgp.html -- more about my PGP keys
Sig 0xb48e805e | 0e31 ac2a 4ff2 62a0 89da ddef 4223 99a6 b48e 805e
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety --Benjamin Franklin, 1759
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----