Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 17:50:57 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Martin =?iso-8859-1?Q?M=F6ller?= <moeller@zedian.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie: How to set GnuPG to setuid(root)?
Message-ID:  <20020528145057.GB21699@ns2.wananchi.com>
In-Reply-To: <20020528162556.A85007@piranha.zedian.net>
References:  <20020528162556.A85007@piranha.zedian.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Martin M=F6ller <moeller@zedian.net> [20020528 17:27]: wrote:
> Hello, everbody!
>=20
> Everytime I call gpg (1.07) I get the warning message:
> "Warning: using insecure memory!"
>=20
> The problem is described the FAQs on www.gnupg.org.
> The FAQ says it's neccessary that the program is installed
> setuid(root). A
>=20
> # ls -l /usr/local/bin/gpg
>=20
> reveals owner "root.wheel".
>=20
> I don't know what exactly is meant with setuid(root)... :(
>=20
> Please give me a hint!


Add this line to your ~/.gnupg/options

no-secmem-warning


And your problem will be gone.

My gpg is not setuid either..

wash@ns2 ('tty') ~ 6 -> ls -al /usr/local/bin/gpg
-r-xr-xr-x  1 root  wheel  557640 Jul 17  2001 /usr/local/bin/gpg


But to make a file setuid you can do

chmod 4755 filename



-Wash

--=20
Odhiambo Washington  <wash@wananchi.com>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."  =20
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)


"It's a summons."
"What's a summons?"
"It means summon's in trouble."
		-- Rocky and Bullwinkle

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020528145057.GB21699>