<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sether</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sether"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:Contributions/Sether"/>
		<updated>2026-04-30T17:48:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/Complete_Workstation</id>
		<title>Complete Workstation</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Complete_Workstation"/>
				<updated>2005-08-17T06:18:56Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: /* Installing common applications */ Text-browsers and introductory info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing FreeBSD==&lt;br /&gt;
&lt;br /&gt;
For this particular write-up, we'll be using FreeBSD 5.3 -- the 4.x series might be better for you if you've got old hardware, or if you're setting up a server, but for a workstation, we want the latest and greatest.&lt;br /&gt;
&lt;br /&gt;
So, go get your FreeBSD CD -- ISO images available from ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/ -- login as anonymous and use your email address as your password and get the first disk's ISO, burn it and boot from it.&lt;br /&gt;
&lt;br /&gt;
Not much will be different from the [[Installing_FreeBSD_-_Standard_Installation]], but you want to be sure to:&lt;br /&gt;
 give /usr/home a lot of space -- /home is really a link to /usr/home&lt;br /&gt;
 install the ports collection&lt;br /&gt;
 create a group for your user&lt;br /&gt;
 create a user and place the account in wheel&lt;br /&gt;
 install and configure X&lt;br /&gt;
 test the mouse daemon&lt;br /&gt;
&lt;br /&gt;
==Choosing a desktop and booting into it==&lt;br /&gt;
&lt;br /&gt;
Here you've got some choices, you can use a heavy desktop like [[Gnome]] or [[KDE]] -- ideal if you want an environment that's closer to the Microsoft Windows or Apple Macintosh approach to graphical user interfaces, but they can be slower to load and use on slower PCs -- or user a lighter desktop environment like [[Windowmaker]], [[xfce]] or [[blackbox]], which are less user friendly but much more responsive on machines with limited resources.&lt;br /&gt;
&lt;br /&gt;
Once installed, you can start the X Window System with [[startx]]. This will launch [[twm]] if no other graphical user interface is specified in your [[.xinitrc]]. To start your GUI through a graphical login manager such as [[xdm]], [[gdm]], or [[kdm]], launch the one of your choice with root privileges. To make one of these login managers start when you first boot your system, modify this line in /etc/ttys:&lt;br /&gt;
&lt;br /&gt;
 ttyv8   &amp;quot;/usr/X11R6/bin/xdm -nodaemon&amp;quot;  xterm   off secure&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;off&amp;quot; to &amp;quot;on&amp;quot; and change &amp;quot;/usr/X11R6/bin/xdm&amp;quot; to the path to the executable of the login manager you want to use.&lt;br /&gt;
&lt;br /&gt;
==Installing common applications==&lt;br /&gt;
If you have installed KDE or Gnome, chances are many common workstation applications have been pre-installed for you. If you don't prefer these pre-installed applications, or if you are not running a large desktop environment with many applications, these are some suggestions. &lt;br /&gt;
&lt;br /&gt;
'''Internet -- browsers, ftp, etc.'''&lt;br /&gt;
I like the Firefox browser; Opera's good and Mozilla isn't bad either, but they're both a bit heavy for my AMD Duron laptop. I don't need a whole lot of special stuff in it -- the only real customizations I add are my own bookmarks and some plugins, so I usually install via the [[pkg_add]] utility and I usually add the flash plugin while I'm at it:&lt;br /&gt;
 pkg_add -r firefox flashplugin-firefox&lt;br /&gt;
Alternatively, you can use a text browser such as [[lynx]], [[links]], [[elinks]], [[w3m]], etc. if your workstation does not have the X Window System installed, or if you want an alternative browser with good keyboard control and faster browsing speeds. I recommend elinks as a text browser because of its active development, support for CSS, Javascript, tabbed browsing, and other improvements over links. &lt;br /&gt;
&lt;br /&gt;
'''Email'''&lt;br /&gt;
[[Thunderbird]] is the GUI app of choice for me, or [[mutt]] if I want to check my mail from the CLI. If you really want something that's Outlook-esque, check Evolution out. /usr/ports/mail/gmail-notifier/ has something that [[http://gmail.com gmail]] users will want to check out (if you're also a Firefox user, you want to use &amp;quot;make -DWITH_MOZILLA=firefox install clean&amp;quot; to install it).&lt;br /&gt;
&lt;br /&gt;
'''Productivity applications'''&lt;br /&gt;
If all you need is some sort of word processing, consider using an app that does just that -- abiword. If you really will need the full Office-type suite, OpenOffice.org seems to be a bit better than KOffice, although if you're running KDE, KOffice's integration with KDE is not to be discounted. If you get a fair amount of MS Word documents, you may want to look into the antiword port -- it converts .doc files into ASCII text. Xpdf is my PDF reader of choice.&lt;br /&gt;
&lt;br /&gt;
'''Audio'''&lt;br /&gt;
I like XMMS, but amarok is pretty good too. Both are installable from ports. If you install amarok, you want to install via ports instead of pkg_add'ing it since there are some build-time customizations that you may want to look into. If you want to install the Real player, be sure and install it from /usr/ports/multimedia/linux-realplayer/ -- don't even bother trying to download it (BBC or otherwise).&lt;br /&gt;
&lt;br /&gt;
'''Video'''&lt;br /&gt;
'''Graphics'''&lt;br /&gt;
&lt;br /&gt;
==Security==&lt;br /&gt;
&lt;br /&gt;
==Networking==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD for Workstations]] [[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Complete_Workstation</id>
		<title>Complete Workstation</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Complete_Workstation"/>
				<updated>2005-08-17T06:11:03Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: /* Choosing a desktop and booting into it */ Removed startx/.xinitrc/graphical login manager placeholder and filled in section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installing FreeBSD==&lt;br /&gt;
&lt;br /&gt;
For this particular write-up, we'll be using FreeBSD 5.3 -- the 4.x series might be better for you if you've got old hardware, or if you're setting up a server, but for a workstation, we want the latest and greatest.&lt;br /&gt;
&lt;br /&gt;
So, go get your FreeBSD CD -- ISO images available from ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/ -- login as anonymous and use your email address as your password and get the first disk's ISO, burn it and boot from it.&lt;br /&gt;
&lt;br /&gt;
Not much will be different from the [[Installing_FreeBSD_-_Standard_Installation]], but you want to be sure to:&lt;br /&gt;
 give /usr/home a lot of space -- /home is really a link to /usr/home&lt;br /&gt;
 install the ports collection&lt;br /&gt;
 create a group for your user&lt;br /&gt;
 create a user and place the account in wheel&lt;br /&gt;
 install and configure X&lt;br /&gt;
 test the mouse daemon&lt;br /&gt;
&lt;br /&gt;
==Choosing a desktop and booting into it==&lt;br /&gt;
&lt;br /&gt;
Here you've got some choices, you can use a heavy desktop like [[Gnome]] or [[KDE]] -- ideal if you want an environment that's closer to the Microsoft Windows or Apple Macintosh approach to graphical user interfaces, but they can be slower to load and use on slower PCs -- or user a lighter desktop environment like [[Windowmaker]], [[xfce]] or [[blackbox]], which are less user friendly but much more responsive on machines with limited resources.&lt;br /&gt;
&lt;br /&gt;
Once installed, you can start the X Window System with [[startx]]. This will launch [[twm]] if no other graphical user interface is specified in your [[.xinitrc]]. To start your GUI through a graphical login manager such as [[xdm]], [[gdm]], or [[kdm]], launch the one of your choice with root privileges. To make one of these login managers start when you first boot your system, modify this line in /etc/ttys:&lt;br /&gt;
&lt;br /&gt;
 ttyv8   &amp;quot;/usr/X11R6/bin/xdm -nodaemon&amp;quot;  xterm   off secure&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;off&amp;quot; to &amp;quot;on&amp;quot; and change &amp;quot;/usr/X11R6/bin/xdm&amp;quot; to the path to the executable of the login manager you want to use.&lt;br /&gt;
&lt;br /&gt;
==Installing common applications==&lt;br /&gt;
'''Internet -- browsers, ftp, etc.'''&lt;br /&gt;
I like the FireFox browser; Opera's good and Mozilla isn't bad either, but they're both a bit heavy for my AMD Duron laptop. I don't need a whole lot of special stuff in it -- the only real customizations I add are my own bookmarks and some plugins, so I usually install via the [[pkg_add]] utility and I usually add the flash plugin while I'm at it:&lt;br /&gt;
 pkg_add -r firefox flashplugin-firefox&lt;br /&gt;
&lt;br /&gt;
'''Email'''&lt;br /&gt;
[[Thunderbird]] is the GUI app of choice for me, or [[mutt]] if I want to check my mail from the CLI. If you really want something that's Outlook-esque, check Evolution out. /usr/ports/mail/gmail-notifier/ has something that [[http://gmail.com gmail]] users will want to check out (if you're also a Firefox user, you want to use &amp;quot;make -DWITH_MOZILLA=firefox install clean&amp;quot; to install it).&lt;br /&gt;
&lt;br /&gt;
'''Productivity applications'''&lt;br /&gt;
If all you need is some sort of word processing, consider using an app that does just that -- abiword. If you really will need the full Office-type suite, OpenOffice.org seems to be a bit better than KOffice, although if you're running KDE, KOffice's integration with KDE is not to be discounted. If you get a fair amount of MS Word documents, you may want to look into the antiword port -- it converts .doc files into ASCII text. Xpdf is my PDF reader of choice.&lt;br /&gt;
&lt;br /&gt;
'''Audio'''&lt;br /&gt;
I like XMMS, but amarok is pretty good too. Both are installable from ports. If you install amarok, you want to install via ports instead of pkg_add'ing it since there are some build-time customizations that you may want to look into. If you want to install the Real player, be sure and install it from /usr/ports/multimedia/linux-realplayer/ -- don't even bother trying to download it (BBC or otherwise).&lt;br /&gt;
&lt;br /&gt;
'''Video'''&lt;br /&gt;
'''Graphics'''&lt;br /&gt;
&lt;br /&gt;
==Security==&lt;br /&gt;
&lt;br /&gt;
==Networking==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD for Workstations]] [[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Startx</id>
		<title>Startx</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Startx"/>
				<updated>2005-08-17T06:03:56Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: Fixed internal link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the command that you would use from the CLI to actually ''start'' the X windowing system GUI. Note that this doesn't start your [[desktop]], just the [[GUI]] itself. If you want to start [[gnome]], [[KDE]], [[xfce]] you'll have to find the command that runs that particular desktop; most of the time this is put in your [[.xinitrc]] file. &lt;br /&gt;
&lt;br /&gt;
[[Category: Common Tasks]]&lt;br /&gt;
[[Category: FreeBSD for Workstations]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Securing_servers</id>
		<title>Securing servers</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Securing_servers"/>
				<updated>2005-08-17T05:20:44Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: man security&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eventually we'll need sections or subarticles on various different security contexts. In the meantime, this is a start. See http://www.taosecurity.com/keeping_freebsd_up-to-date.html or [http://www.freebsd.org/cgi/man.cgi?query=security&amp;amp;apropos=0&amp;amp;sektion=0&amp;amp;manpath=FreeBSD+5.4-stable&amp;amp;format=html the security man page] for ways to keep your system secure.&lt;br /&gt;
&lt;br /&gt;
==First Impressions Are Everything==&lt;br /&gt;
&lt;br /&gt;
Login banners are useful sometimes, but since you'll likely already know what system you're logging into and what you're going to be using it for, will probably be unnecessary, and any extraneous information that they give when you login will usually be worthless to you but potentially useful to an attacker. If you want to change it (or remove it,) you'll need to:&lt;br /&gt;
 1. edit /etc/motd (make it blank or put in a warning like &amp;quot;you're being logged&amp;quot; or &amp;quot;authorized &lt;br /&gt;
    access ONLY&amp;quot; or something)&lt;br /&gt;
 2. [[touch]] /etc/COPYRIGHT and&lt;br /&gt;
 3. add ''update_motd=&amp;quot;NO&amp;quot;'' to /etc/rc.conf.&lt;br /&gt;
 4. reboot to verify that the changes are made and effective.&lt;br /&gt;
&lt;br /&gt;
==Security in a local user context==&lt;br /&gt;
&lt;br /&gt;
If your system has multiple users that have access to the box, you might want to restrict who can log on locally as well as over the network.&lt;br /&gt;
&lt;br /&gt;
First, let's block anyone from logging into the machine as root -- this is default when logging in via [[ssh]] but let's make local users (at the console) log in with a regular account and then [[su]] to [[root]] if they want [[root]] access. Edit /etc/ttys and replace all the values marked &amp;quot;secure&amp;quot; with &amp;quot;insecure&amp;quot; in the tty sections. You can do this with [[sed]] if you like, but be ''very careful'' with this file, as a typo means you'll break logins. Consider making a backup of it, using something like this:&lt;br /&gt;
 samizdata# sed s/secure/insecure/ /etc/ttys &amp;gt; /etc/ttys_new&lt;br /&gt;
 samizdata# mv /etc/ttys /etc/ttys.bak &amp;amp;&amp;amp; mv /etc/ttys_new /etc/ttys&lt;br /&gt;
&lt;br /&gt;
You can also disallow logins from non-local consoles, or logins that are not from a specific domain or IP by editing the very well commented /etc/login.access file.&lt;br /&gt;
&lt;br /&gt;
There is another way to disallow logins.  Let's say you have a user that left, and you don't want to keep their account open because it's a potential hole (or just because you don't trust them), but you don't want to delete the account or its files just yet.  Go to [[ /etc/master.passwd]] and change their password -- the second field, right after their '''username:''' field -- and delete it, replacing it with &amp;quot;*&amp;quot;. Since no password hash will ever match &amp;quot;*&amp;quot;, they'll never be able to login by authenticating against the password.  However, you also have to be careful to either delete or move their [[ssh]] keys, since if you have [[sshd]] running, a user may still be able to authenticate against the '''keys''' without ever having to type in a password.  Since we're going to be blocking the user, we might as well run [[chsh]] and change their shell from a valid login shell to something that you can't login with, like /sbin/nologin or another [[invalid shell]].  Note that this will break some programs -- some ftp daemons will not let you connect if you don't have a valid login shell, for example.  (Also note that for this reason, if you need a lot of ftp-only users, it's best to pick an FTP daemon that can be configured to avoid this behavior.)&lt;br /&gt;
&lt;br /&gt;
For more about controlling logins (locally or over the network), check /etc/login.access and see the excellent article by Michael W. Lucas at http://www.onlamp.com/pub/a/bsd/2001/06/28/Big_Scary_Daemons.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''things needed here:'''(cover common gotchas and SNAFUs concerning local security; ie preventing valid shell users from obtaining privileges they aren't supposed to have or doing damage they shouldn't be able to do.  [[sudo]] is clearly a must with this one, as is some discussion of running daemons under special user accounts, and the dangers of overusing &amp;quot;nobody&amp;quot; to run daemons.  a quick rundown of system files that permissions should be double-checked on, like /etc/passwd, /etc/master.passwd, /etc/group, and the databases associated with them should also be covered.)&lt;br /&gt;
&lt;br /&gt;
==Security in an internet context==&lt;br /&gt;
&lt;br /&gt;
'''what's listening?'''&lt;br /&gt;
We'll want to know what ports are open and listening. If you didn't follow the installation instructions and installed IPv6 support when you installed the system (like me), you'll want to check for IPv6 sockets as well as IPv4; become [[root]] and run [[sockstat]] with -46 as an argument; this will let you know the socket status for both IPv4 and IPv6 sockets (in this context, a socket = port + protocol). For more details, see the [[sockstat]] entry's section on security. Any services that don't ''need'' to be running should be disabled or uninstalled completely, if possible.&lt;br /&gt;
&lt;br /&gt;
'''who's connecting?'''&lt;br /&gt;
Consider allowing only specific machines to connect to your system at all, or trusted networks only. Make changes in your hosts.allow and hosts.deny files as appropriate. Consider securing what users can log in at all by altering which shells they can use -- see [[chsh]] for how to do this.&lt;br /&gt;
&lt;br /&gt;
==Authentication, Encryption and You==&lt;br /&gt;
FreeBSD encrypts passwords. Unfortunately, it doesn't do it the strongest way possible by default. The reason being that stronger encryption takes more effort to perform and can sometimes be slow. But if you're serious about making your machine harder to crack, you'll want to switch your password encryption from md5 to the blowfish algorithm. Blowfish has the benefit of being both fast and strong (military-grade strong.) This is a 4-step process. &lt;br /&gt;
&lt;br /&gt;
1. edit /etc/login.conf and change the passwd_format entry to &lt;br /&gt;
 :passwd_format=blf:\&lt;br /&gt;
2. rebuild the login.conf database with&lt;br /&gt;
 samizdata# '''cap_mkdb /etc/login.conf'''&lt;br /&gt;
3. change all your user's passwords (or get them to change 'em by [[expiring_passwords|expiring their passwords]]) by running passwd for everyone (''INCLUDING ROOT''):&lt;br /&gt;
 samizdata# passwd &lt;br /&gt;
4. you'll want to change the configuration file that the [[adduser]] program calls to use blowfish automagically. Do this by changing the ''crypt_default=md5'' line in [[/etc/auth.conf]] to ''crypt_default=blf'' so that any new accounts you make on the system use it from the get-go.&lt;br /&gt;
&lt;br /&gt;
==Security in a local area network context==&lt;br /&gt;
&lt;br /&gt;
(probably the shortest of the categories - specific things to watch for in an un-firewalled and extremely-high-bandwidth mostly-trusted environment.)&lt;br /&gt;
&lt;br /&gt;
==Security through better logging==&lt;br /&gt;
&lt;br /&gt;
(keeping time up to date with [[ntpd]] or regularly scheduled [[ntpdate]] - and it's worth noting that I've NEVER personally been able to get ntpd to actually update the damn system time, all it seems to do is maintain a drift file for me - but anyway, importance of keeping system time precise down to milliseconds for coordination of system logs with logs at ISPs and other servers involved in network attacks, use of [[tripwire]] or built-in daily root emails to monitor for changes in important system files, and also the benefits of either maintaining a separate log server or REGULARLY moving logs off-system to a machine that doesn't trust the server it's getting the logs from one damn bit.  this topic may actually need to be moved to its own separate subarticle.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
----&lt;br /&gt;
----&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Of course, each of these sections can themselves spawn entire new subsections / subarticles of their own.  There's a ''reason'' entire books have been published on computer security! =)&lt;br /&gt;
&lt;br /&gt;
Try to remember, when writing these articles, that &amp;quot;short and sweet&amp;quot; is best, when it comes to a single article.  If at all possible, try to limit the scope of any given article to a page or two of text; if you need to refer to something that is going to run a few pages all by itself, consider writing a separate article for that topic and hyperlinking it for people who need it.  For example, obviously [[firewall]]s need discussion in any internet-context security article, but instead of trying to go over setting one up in the midst of the internet security article itself, it's better to write one article about firewalls and another about the big picture, and just link them.&lt;br /&gt;
&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Securing FreeBSD]]&lt;br /&gt;
[[Category:FreeBSD for Servers]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Security_(Why_FreeBSD%3F)</id>
		<title>Security (Why FreeBSD?)</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Security_(Why_FreeBSD%3F)"/>
				<updated>2005-08-17T05:19:11Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: Reminder to see securing servers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''[[Security]] redirects to this article about FreeBSD's security record. For information on securing FreeBSD, see [[Securing servers]].''&lt;br /&gt;
&lt;br /&gt;
FreeBSD has a significantly better security record&amp;amp;mdash;particularly out-of-the-box security&amp;amp;mdash;than most Linux distributions.  For example, a default FreeBSD installation includes OpenSSH configured to disallow root logins&amp;amp;mdash;a potential attacker must first know the account name of a user in the [[wheel]] group (because only users in group [[wheel]] can use [[su]]), log in as that user, and then [[su]] to root.  Most Linux distributions instead install OpenSSH configured to allow root logins, which is more insecure because it allows a cracker to use an [http://www.k-otik.com/exploits/08202004.brutessh2.c.php automated program] to attempt dictionary or brute-force attacks against the root account.&lt;br /&gt;
&lt;br /&gt;
Furthermore, because only users in group [[wheel]] can [[su]] to root, even if a remote attacker knows root's password, the attacker is powerless if he cannot access the account of a user in group [[wheel]].&lt;br /&gt;
[[Category:Why FreeBSD?]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Rm</id>
		<title>Rm</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Rm"/>
				<updated>2005-08-17T04:50:25Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: How to alias a command (other than rm) to moving files to a &amp;quot;trash can&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Short for '''remove'''. Seriously, be careful when using this. There is no undelete once you've unlinked a file unless you've aliased [[rm]] to a [[mv]] script that moves files to a trash folder. This practice is not recommended because you will eventually find yourself on a system that doesn't have that alias and make a mistake. However, you can alias a different command to do this task by putting something like this in your startup file:&lt;br /&gt;
&lt;br /&gt;
 alias del &amp;quot;mv */! .trash&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Common flags==&lt;br /&gt;
&lt;br /&gt;
 -r recursive -- same as -R&lt;br /&gt;
 -f force -- do it and damn the consequences&lt;br /&gt;
 -d directories&lt;br /&gt;
 -i confirm before delete&lt;br /&gt;
 -P overwrite files (with 0xFF's, 0x00's, and 0xFF's again) before deleting them&lt;br /&gt;
 -v be verbose&lt;br /&gt;
&lt;br /&gt;
==About the -P argument==&lt;br /&gt;
&lt;br /&gt;
Use this argument with extreme care!  If you use '''rm -P''' to remove a file that has hard links, the file will be immediately overwritten and its contents will be lost, thus not accessible via the links. For example :&lt;br /&gt;
&lt;br /&gt;
 $ '''echo 'Hello World' &amp;gt; foo'''&lt;br /&gt;
 $ '''ln -h foo bar'''&lt;br /&gt;
 $ '''cat foo bar'''&lt;br /&gt;
 Hello World&lt;br /&gt;
 Hello World&lt;br /&gt;
 $ '''rm -P foo'''&lt;br /&gt;
 $ '''cat bar'''&lt;br /&gt;
 $ '''Hey !! where is bar contents ??'''&lt;br /&gt;
 Hey, command not found&lt;br /&gt;
&lt;br /&gt;
See also [[rmdir]]&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/User:Sether</id>
		<title>User:Sether</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User:Sether"/>
				<updated>2005-08-12T10:49:15Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;My name is '''Seth'''. I'm currently a student at the University of California, Berkeley. I've been playing around with Unix-like operating systems for about 3 years now and I have about 2 years of experience with FreeBSD and other BSD descendants.&lt;br /&gt;
&lt;br /&gt;
I've been doing the wiki thing for a little bit. You can find me on [[Wikipedia]] as [http://en.wikipedia.org/wiki/User:Sether Sether].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''There's {{NUMBEROFARTICLES}} articles on this wiki. ''&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/User:Sether</id>
		<title>User:Sether</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User:Sether"/>
				<updated>2005-08-12T10:43:56Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;My name is '''Seth'''. I'm currently a student at the University of California, Berkeley. I've been playing around with Unix-like operating systems for about 3 years now and I have about 2 years of experience with FreeBSD and other BSD descendants.&lt;br /&gt;
&lt;br /&gt;
I've been doing the wiki thing for a little bit. You can find me on [[Wikipedia]] as [http://en.wikipedia.org/wiki/User:Sether Sether].&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Gotchas,_Linux</id>
		<title>Gotchas, Linux</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Gotchas,_Linux"/>
				<updated>2005-08-12T10:32:35Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: Sun's licensing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Things you should know if you're coming to FreeBSD from Linux==&lt;br /&gt;
# The kernels are different -- monolithic instead of microkernels, although FreeBSD does allow dynamic loading of modules (see [[kldstat]], [[kldload]], [[kldunload]].)&lt;br /&gt;
# You need to be a member of the wheel group to allow you to su to root.&lt;br /&gt;
# No iptables/netfilter: ipfw packet filter takes it's place, but you have to recompile your kernel to include it&lt;br /&gt;
# Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.&lt;br /&gt;
# No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc&lt;br /&gt;
# You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.&lt;br /&gt;
# If in doubt, read the Handbook (or ask here).&lt;br /&gt;
# Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.&lt;br /&gt;
# Java's a tough nut to install due to Sun's licensing restrictions. Deal.&lt;br /&gt;
# /stand/sysinstall will be quite useful to you at first.&lt;br /&gt;
# [[bash]] is not the default shell, [[csh]] or [[tcsh]] is. If you want to change that, see [[chsh]].&lt;br /&gt;
# Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.&lt;br /&gt;
# Your NIC is no longer eth0 or eth0 or whatever. FreeBSD names it's interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.&lt;br /&gt;
# /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.&lt;br /&gt;
# Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].&lt;br /&gt;
# [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.&lt;br /&gt;
# Software RAID? See [[vinum]].&lt;br /&gt;
# Bandwidth limiting/traffic shaping? See [[dummynet]]&lt;br /&gt;
# Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]&lt;br /&gt;
# Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.&lt;br /&gt;
# /boot/loader.conf is where you set which kernel modules to load at boot time. /etc/rc.conf is where you set which system daemons to load at boot time.  Or you can edit the startup scripts manually in /etc/rc.d (Some say this is the only way to do it, some say it doesn't matter. Your choice.)&lt;br /&gt;
# [[wget]] is replaced by [[fetch]]. Feel free to install wget if you don't want to learn another program, but they're very similar.&lt;br /&gt;
[[Category : Linux Equivalents]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Linux</id>
		<title>Linux</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Linux"/>
				<updated>2005-08-12T10:31:03Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: Fuller article link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A Unix-like operating system.  Many distributions exist; the closest analogue to FreeBSD being the Gentoo distribution:  It has a ports system and places an emphasis on building packages and the system itself from source.&lt;br /&gt;
&lt;br /&gt;
FreeBSD has a Linux compatibility layer that allows it to run Linux binaries (ELF) as if they were native FreeBSD programs; this may be useful if you find yourself needing to run a program that's only available as a linux binary. This is rare, but it happens.&lt;br /&gt;
&lt;br /&gt;
See [http://www.onlamp.com/pub/a/bsd/2004/11/11/FreeBSD_Basics.html this excellent article by Dru Lavigne at ONLamp] [http://www.onlamp.com/pub/a/bsd/2005/01/13/FreeBSD_Basics.html or this other article (also by Dru Lavigne at ONLamp)] for more information on Linux and BSD differences. [[Matt Fuller]] has also written a good introduction to FreeBSD for Linux users which is available [http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php here]. &lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/GNU/Linux</id>
		<title>GNU/Linux</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/GNU/Linux"/>
				<updated>2005-08-12T10:27:13Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: redirect to Linux&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Linux]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Ports</id>
		<title>Ports</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Ports"/>
				<updated>2005-08-12T10:23:21Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: Created disambig&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a disambiguation page for '''Ports'''-related articles. &lt;br /&gt;
&lt;br /&gt;
*[[Ports tree]]&lt;br /&gt;
*[[Ports Tree, Updating]]&lt;br /&gt;
*[[Ports, searching]]&lt;br /&gt;
*[[Ports, Installing]]&lt;br /&gt;
*[[Ports Tree, Installing]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Script_to_install_common_packages</id>
		<title>Script to install common packages</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Script_to_install_common_packages"/>
				<updated>2005-08-12T10:19:30Z</updated>
		
		<summary type="html">&lt;p&gt;Sether: mention of instant-workstation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here's a script that will install common stuff you might want on a workstation. Comment out the things you don't want and uncomment the things you ''do'' want -- this is just my preference.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 #install desktop stuff&lt;br /&gt;
 #&lt;br /&gt;
 pkg_add -r xorg  &lt;br /&gt;
 pkg_add -r xfce4 rox rox-mime-editor rox-session&lt;br /&gt;
 #pkg_add -r windowmaker&lt;br /&gt;
 #pkg_add -r gnome&lt;br /&gt;
 #pkg_add -r kde&lt;br /&gt;
 pkg_add -r xscreensaver&lt;br /&gt;
 pkg_add -r gdm&lt;br /&gt;
 #&lt;br /&gt;
 # teh interwebaolnetslice stuff&lt;br /&gt;
 pkg_add -r firefox thunderbird flashplugin-firefox&lt;br /&gt;
 pkg_add -r curl wget&lt;br /&gt;
 #pkg_add -r mozilla flashplugin-mozilla&lt;br /&gt;
 pkg_add -r gaim gaim-encryption&lt;br /&gt;
 #pkg_add -r gdesklets   &lt;br /&gt;
 #&lt;br /&gt;
 #&lt;br /&gt;
 # multimedia majicking stuff&lt;br /&gt;
 pkg_add -r xmms &lt;br /&gt;
 pkg_add -r cdparanoia&lt;br /&gt;
 pkg_add -r grip&lt;br /&gt;
 pkg_add -r lame&lt;br /&gt;
 #&lt;br /&gt;
 # various&lt;br /&gt;
 #pkg_add -r filezilla&lt;br /&gt;
 pkg_add -r rdesktop grdesktop&lt;br /&gt;
 pkg_add -r sharity-light&lt;br /&gt;
 pkg_add -r bash3  &lt;br /&gt;
 #&lt;br /&gt;
 # file utilities&lt;br /&gt;
 pkg_add -r unrar&lt;br /&gt;
 pkg_add -r unzip  &lt;br /&gt;
 #&lt;br /&gt;
 # file reading/office stuff&lt;br /&gt;
 pkg_add -r xpdf&lt;br /&gt;
 #pkg_add -r openofficeorg&lt;br /&gt;
&lt;br /&gt;
You might also want to consider installing /misc/instant-workstation. &lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;/div&gt;</summary>
		<author><name>Sether</name></author>	</entry>

	</feed>