From owner-freebsd-questions Tue May 28 7:51:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (ns2.wananchi.com [212.49.74.4]) by hub.freebsd.org (Postfix) with ESMTP id 10CD637B403 for ; Tue, 28 May 2002 07:51:31 -0700 (PDT) Received: from wash by ns2.wananchi.com with local (Exim 3.36 #1 (FreeBSD)) id 17CiJN-0006Ip-00; Tue, 28 May 2002 17:50:57 +0300 Date: Tue, 28 May 2002 17:50:57 +0300 From: Odhiambo Washington To: Martin =?iso-8859-1?Q?M=F6ller?= Cc: freebsd-questions@freebsd.org Subject: Re: Newbie: How to set GnuPG to setuid(root)? Message-ID: <20020528145057.GB21699@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , Martin =?iso-8859-1?Q?M=F6ller?= , freebsd-questions@freebsd.org References: <20020528162556.A85007@piranha.zedian.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20020528162556.A85007@piranha.zedian.net> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Minors in Kansas City, Missouri, are not allowed to purchase cap pistols X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: Blackbox X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 5:49PM up 8 days, 8:20, 2 users, load averages: 1.33, 1.43, 1.48 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Martin M=F6ller [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 "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