The great AT Linux/BSD/*NIX FAQ project!

Page 13 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Kinesis

Senior member
May 5, 2001
475
0
76
I have a question. What is a source for how to take and old system (Pentium 2) and Make it into a Linux Firewall?

Is there a website, or a book ?

Thanks..

Great FAQ!!

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Kinesis
I have a question. What is a source for how to take and old system (Pentium 2) and Make it into a Linux Firewall?

Is there a website, or a book ?

Thanks..

Great FAQ!!

netfilter.samba.org might have one.
 

stspad

Member
Feb 27, 2003
91
0
0
well, if anyone can help. i just wanna configure sudo, i know do visudo , but any tips on what a normal user 's settings should be? or just a vague example? heh new to sudo and right now i got " ALL=(ALL) ALL " just so i can sudo commands lol
openbsd 3.2-stable btw
 

Panther505

Senior member
Oct 5, 2000
560
0
0
Originally posted by: BingBongWongFooey
pimp slap this thing back into place


What he said!??! Pimp slap to the top (where did I leave the damn screwdriver?- I'm a handman- When I'm done it will stay at the top)


Mods -are you listening ----- Sticky please?


EDIT- so n0cmonkey doesn't have to show so much restraint

Panther
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: stspad
well, if anyone can help. i just wanna configure sudo, i know do visudo , but any tips on what a normal user 's settings should be? or just a vague example? heh new to sudo and right now i got " ALL=(ALL) ALL " just so i can sudo commands lol
openbsd 3.2-stable btw

Well, what do you want to do? Restrict it to only certain commands? I myself use:

%wheel ALL=(ALL) NOPASSWD: ALL

so that anyone in the wheel group can run commands as root without a password. Convenient, but not exactly the most locked down approach

here's a couple examples from the netbsd sudoers file:

%users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
%users localhost=/sbin/shutdown -h now
 

stspad

Member
Feb 27, 2003
91
0
0
thx, thats pretty much how i set mine up. just glad to hear others did that too heh
any one else running openbsd 3.3 beta? some pretty cool stuff in this rls
 

crisp82

Golden Member
Apr 8, 2002
1,920
0
0
Just to say guys, this is a really great idea, especially for Linux n00bs like me. Keep it going

BTW: I haven't read all the posts, so many, but if there aren't already, can we add some about drivers?
 

pitupepito2000

Golden Member
Aug 2, 2002
1,181
0
0
Can we have a post about how to set up ssh, in a linux box. I am a linux newbie, and I would love to be able to access my home computer from anywhere in the world.

Thanks for the faq,
pitupepito
 

pitupepito2000

Golden Member
Aug 2, 2002
1,181
0
0
the problem that I am having is that I havne't found a how to for ssh, and I am concerned about the security of my linux box.

Thanks for the help,
pitupepito2000
 

krystalogik

Senior member
Dec 6, 2001
361
0
0
I love this FAQ.

and now i have another request :

I want to set up a "shell account" type of thing, becasuse since I got started in Linux (Thanks people!) a lot of my friends are looking into it also, and I'd like to give them a way to get familiar with it,without making their own box and such (hopefully that'll come later).

But since they're not familiar with it, and have a chance of totally messing my install (I've done it myself a couple of times) I'd like to come up with a way to keep them in their own little space, and not be able to effect anything systemwide.

I've heard of "jailing" and "chrooting", but dont really have any clue what they mean.

Any help?
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: krystalogik
I love this FAQ.

and now i have another request :

I want to set up a "shell account" type of thing, becasuse since I got started in Linux (Thanks people!) a lot of my friends are looking into it also, and I'd like to give them a way to get familiar with it,without making their own box and such (hopefully that'll come later).

But since they're not familiar with it, and have a chance of totally messing my install (I've done it myself a couple of times) I'd like to come up with a way to keep them in their own little space, and not be able to effect anything systemwide.

I've heard of "jailing" and "chrooting", but dont really have any clue what they mean.

Any help?

Honestly, chrooting them won't help them learn much. For their sake you should just give them a normal bash shell, but then again I wouldn't just go handing shell accounts to newbies either...
 

krystalogik

Senior member
Dec 6, 2001
361
0
0
Heh. I did some research on chrooting last night, and you're right, it wouldnt help much.

looks like I'll be hardening my box and then giving them accounts, and learning from the mistakes im bound to make there.
 

jamesave

Golden Member
Aug 27, 2000
1,610
0
76
Originally posted by: Electrode
Introduction to X window managersX, unlike Windows, has no built-in window management capabilities (such as titlebars, things to resize or close the window, etc), instead relying on external programs to provide these functions. These programs are commonly called Window Managers.

In addition to the aforementioned window management functions, many window managers provide other features, like root menus (you click on an empty part of your root window and a menu pops up), a dock (a bar that so-called "dockapps" live in), or virtual desktops. Examples of window managers are WindowMaker, Blackbox, FVWM, KWM (part of KDE), Sawfish, TWM (included with X), and Enlightenment.

There are also a few packages out there, known as Desktop Environments. These are suites of programs that work together to provide a more complete work environment. In addition to a window manager, they usually include a toolbar, a program that turns the root window into a more functional desktop (icons, fancy interactive wallpapers, etc), text editors, a web browser, a file browser, maybe an entire API. Examples of desktop environments are GNOME, KDE, and XFCE.

Virtually all desktop environments are comprised of cooperative but seperable components. For example, you can run Konqueror without actually running KDE, you can stick the GNOME toolbar in pretty much any environment you want, or run KDE with a window manager other than the included KWM. The possibilities are limitless.

There's a fairly big list of window managers and desktop environments at XWinMan.org.


Electrode,
Thanks for your great effort! My question is: Does Xfree86 count as X Windows Manager?
I am so confused of the different desktop environments and it's relation to the desktop manager- since I am very used to MS Windows environment. But so far, I have been able to install RH 8.0 on my old P2-350 Dell system, and running the web server.

Thanks,
Jamesave
 

krystalogik

Senior member
Dec 6, 2001
361
0
0
I know I'm not electrode, but thought i'd do my part

Short answer : Yes.

Long answer:

from xwinman.org

The X Window System, known simply as "X", is a portable, network-transparent window system which runs on many different computers. It is frequently used in conjunction with the UNIX operating system. Popular platforms include workstations from companies such as Sun Microsystems Inc, and Silicon Graphics Inc, and standard IBM-PCs running Linux, which is a freely available implementation of UNIX, often including XFree86, a freely available implementation of X. This tradition of the entire system, including numerous applications, being released without a profit being made, makes the latter combination a particularly popular choice, and is preferred by many to less cost-effective, and sometimes less flexible offerings from mass-market operating system companies.

sorry bout the large block o' text. couldn't take it out of context cleanly (too lazy)
 

krystalogik

Senior member
Dec 6, 2001
361
0
0
ok... new question!

say i have a process running in an ssh, and my ssh connection dies, but the process is still running...
can i reassign my orphaned proces to a new terminal or ssh session?
 

manly

Lifer
Jan 25, 2000
11,796
2,749
136
Originally posted by: krystalogik
ok... new question!

say i have a process running in an ssh, and my ssh connection dies, but the process is still running...
can i reassign my orphaned proces to a new terminal or ssh session?
No, but for that problem, you almost definitely want to look at screen.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |