From owner-freebsd-chat Tue Mar 18 11:53:31 2003 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C07F37B401 for ; Tue, 18 Mar 2003 11:53:30 -0800 (PST) Received: from ns.isi.ulatina.ac.cr (ns.isi.ulatina.ac.cr [163.178.60.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A2E343F93 for ; Tue, 18 Mar 2003 11:53:28 -0800 (PST) (envelope-from fabmirha@ns.isi.ulatina.ac.cr) Received: by ns.isi.ulatina.ac.cr (Postfix, from userid 5481) id CAAF31FFB6; Tue, 18 Mar 2003 13:20:27 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by ns.isi.ulatina.ac.cr (Postfix) with ESMTP id B8B8E2BEC9 for ; Tue, 18 Mar 2003 13:20:27 -0600 (CST) Date: Tue, 18 Mar 2003 13:20:27 -0600 (CST) From: Fabio Miranda Hamburger To: freebsd-chat@freebsd.org Subject: Offtopic Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have a couple of question: 1. A technique for an intruder to keep a root account was creating a stuid root shell, that is not possible on FreeBSD nowadays, Why is not possible? How a program like sudo can do that? Foe example, If i am a sudo 'full admin' I can do this without passwd: %sudo su # 2. I coded a program that read a wordlist and prints them: char str1[64]; ... while(!(feof(FooPtr)){ fscanf(FooPtr,"%s\n",str1); .. printf("%c",str1[x]); ... If the "character" I going to printf is alpha or numeric, there is NO problem, but if i am going to print an space, it core dumps... Why this happens? How can I solve this? FreeBSD rules forever! --- Fabio Andres Miranda Ingenieria de sistemas informaticos Universidad Latina - Costa Rica To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message