Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2003 13:20:27 -0600 (CST)
From:      Fabio Miranda Hamburger <fabmirha@ns.isi.ulatina.ac.cr>
To:        freebsd-chat@freebsd.org
Subject:   Offtopic
Message-ID:  <Pine.LNX.4.44.0303181314590.32236-100000@ns.isi.ulatina.ac.cr>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0303181314590.32236-100000>