From owner-freebsd-security Tue Aug 14 9:35:52 2001 Delivered-To: freebsd-security@freebsd.org Received: from db.nexgen.com (db.nexgen.com [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id CDA2937B40A for ; Tue, 14 Aug 2001 09:35:44 -0700 (PDT) (envelope-from ml@db.nexgen.com) Received: (qmail 553 invoked from network); 14 Aug 2001 16:35:11 -0000 Received: from localhost.nexgen.com (HELO alexus) (127.0.0.1) by localhost.nexgen.com with SMTP; 14 Aug 2001 16:35:11 -0000 Message-ID: <001d01c124df$2962eae0$0d00a8c0@alexus> From: "alexus" To: "Will Andrews" Cc: "David Kirchner" , "Ivan Krstic" , References: <20010813093238.B38221-100000@localhost> <000b01c1241f$d0e74c90$0d00a8c0@alexus> <20010814111413.N5712@bohr.physics.purdue.edu> Subject: Re: bin user Date: Tue, 14 Aug 2001 12:35:17 -0400 Organization: NexGen MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2526.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org after reading yourr e-mail i thoug this is a very good idea too *BUT*! # su -m bin su: /usr/local/bin/bash: Permission denied # id uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest) # it won't switch to bin for some reason:( ----- Original Message ----- From: "Will Andrews" To: "alexus" Cc: "David Kirchner" ; "Ivan Krstic" ; Sent: Tuesday, August 14, 2001 12:14 PM Subject: Re: bin user > On Mon, Aug 13, 2001 at 01:46:00PM -0400, alexus (ml@db.nexgen.com) wrote: > > hm, i like yours is better the only question will it work from crontab? > > /etc/crontab will let you specify user to run the command as. > You can also do ``su -m bin'' then ``crontab -e''. > > -- > wca > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message