Affected Versions:FreeBSD 8.0FreeBSD 7.2 vulnerability description:Bugtraq id: 42533
FreeBSD is an open-source Unix system that runs on the Intel Platform and can be freely used.
The setusercontext () function in the lib/libutil/login_class.c file is used to apply specific user settings when running with the permissions of other users. This allows local users to create special ~ /. Login_conf file and use OpenSSH to log on to change some restricted re
Original: http://blog.chinaunix.net/uid-21782158-id-11006.htmlClassification: Two types of cases:First, when the menu appears at the start of the time to stop the 10 secondsMethod:Edit/boot/loader.conf, add a sentence:Autoboot_delay= "X"X is the number of seconds you wish to stay.Second, if installed when the bootmgr, then even if you only installed a FB system, it will stay a bit.Method:1: If you install only one FreeBSD operating system on this mach
Author: heiyelurenQQ group: 5415735 (Linux/BSD installation protection group) Date: 2004/8/18 -- special thanks to QQ group friends Nan, this article was generated under his patience-it was a little difficult to see friends installing mysql on Unix/Linux, so I just had to install it easily.
Author:HeiyelurenQQ group: 5415735 (Linux/BSD installation protection group)Date: 2004/8/18-- Special thanks to QQ Group's friend Anan. This article is only available under his patient leadership --
It may be
I have been compiling and installing the latest mono version 2.4.2.3 on FreeBSD for the past two days. However, I have tried many times and cannot compile it normally, so I have to give up temporarily. Then we will try to install it in the simplest way, ports.
To install the latest mono version, update ports with the following command:ReferencePortsnap fetch ExtractPortsnap fetch update
It should be noted that portsnap fetch extract only needs t
/** FreeBSD 9.0 Intel Sysret Kernel Privilege escalation exploit * Author by Curcolhekerlink * * This exploit based on Open source project, I can make it open source too. Right? * * If you blaming me for open sourcing this exploit, you can fuck your mom. free of charge:) * * Credits to Kepedean Corp, Barisan sakit Hati, ora iso sepaying meneh hekerlink, * kismin Perogeremer Cyber team, Petboylittledick, 1337 curhat Crew and others at #MamaDedehEliteC
I did a minimal installation of FreeBSD a long time ago. At the time, I did not install manual pages. To later install these man pages, I shocould be able to do the following:
Run sysinstall# Sysinstall
Select configureConfigure do post-InstallConfiguration of FreeBSD
Select DistributionsDistributions install additional distribution Sets
Select man[X] MAN system manual pages-recommended
Install Firefox in FreeBSD 5.4 release today. Update the ports tree to the latest version:
FreeBSD # CVSup-g-L 2/root/ports-supfile
Then execute make in the Firefox directory:FreeBSD # cd/usr/ports/www/FirefoxFreeBSD # Make
Soon after, the system encountered a compilation error:
NsHostResolver. h: 95: error: iso c ++ forbids declaration of 'praddrinfo' with no typeNsHostResolver. h: 95: error:
When adding a route, if you want it to be valid when the server is restarted, write the command to/etc/rc. Local. However, the routing operations are different in Linux and FreeBSD, with the following differences:
Linux:
The following is a code snippet:View routes:/Sbin/routeAdd route:/Sbin/route add-host 172.16.78.226 GW 10.55.40.1/Sbin/route add-net 172.16.20.0/24 GW 10.55.40.1Delete A route/Sbin/route del-host 172.16.78.226 GW 10.55.40.1/
FreeBSD runs x normally. Unlike Linux, FreeBSD does not play with Kde, So I rarely use Kde, and gnome often suffers errors.
I had to install an xfce, but the xfce in ports is not the latest version, and I am too lazy to install it after I downloaded more than a dozen packages.
Hey, I almost forgot what I want to do.
This time I want to install the environment is eclipse 3.1 + jdk1.4.2-P6 + jboss-3.2.5
Jboss
FreeBSD preparation File
Nic preparation file path
/Etc/sysconfig/network-scripts/ifcfg-eth0
Restart the network. The modification takes effect.
/Etc/init. d/network restart
FreeBSD
Mygate ------- Gateway
RC. conf --------
PF. conf ------- firewall package filtering
Hostname. xl0 ----- Name and address of NIC 1
Hostname. xl1
Host (s). conf ----- host's
And so on.
/Etc/defaultdomain default doma
FreeBSD has been used for some time. Many of the commands are commonly used during this period. It is easy to use FreeBSD by learning to use these commands. Now I will summarize the commands I used during this period. Many of them are very similar to Linux, and some of them are still learned from Linux materials, in any case, it is easier to search for Linux on Google.
1. Display directories and filesLs
The last few hundred lines displayed on the front screen will be in the buffer for you to check.
To browse the buffer, you can pressScroll lockThis will enable the screen scrolling function. Then you can use the direction key orPageup,PagedownKey. RepressScroll lockThe key stops the screen scrolling.
You will see a similar picture when browsing. The real result varies depending on your computer device.
Figure. Typical device detection results
avail memory = 253050880 (247120K bytes)Preloaded el
step is to use the Vpopmail software to enable the server to support virtual domains. Because at this stage, the mail server can only provide mail services to users on FreeBSD. If every New Mail User is added to the system, this server not only wastes resources but also brings security risks. It currently only supports one domain name mail.itp.swjtu.edu.cn. Vpopmail provides the virtual domain function and converts/etc/passwd-based authentication to/
A small question about freebsd
It's urgent!I want to know which of the following commands can download data from the network besides the wget command in freebsd?How can this problem be solved?I have found many articles on baidu and cannot find the answer!
Reply to discussion (solution)
Wget is also an external tool. you can find the command line download tool.Both curl and aria2 (@ sf.net) are suppo
9Select at least two cores here, then click Next
10Recommended to set the memory to 2G, running can be smooth
11Select the default NAT network for easy access to the virtual machine
12Select default, stand-alone next
13Select the first option and click Next
14It is important to note that Apple only supports SCSI mode, so it must be selected
15Select the disk size, at least 20G, the following recommendation to select the second item, the third item can also
16Select the path wher
Method start
Check out the current shell
The code is as follows
Copy Code
[Phpbird@host3 ~]$ Echo $SHELL/usr/local/bin/bash
Of course, this is modified.Modify the default shell to modify the/etc/passwd
Another one is to use orders toChshIt's an elegant way.
The code is as follows
Copy Code
Chsh-s/path/to/shell {User-name}This is me.Chsh-s/usr/local/bin/bash Juhui
is not a root user, you need to enter a password.
Spe
First describes how to establish a high-speed DNS cache server on FreeBSD, citing the words in the Freebs D Chinese Manual:
A cached domain name server is a domain name server that does not provide authoritative resolution for any domain. It simply completes the query itself and remembers the queries for subsequent use. To set up such a server, simply configure a domain name server as usual, without configuring the domain.
The installation is as fol
#1 build a fully functional mail server on the FreeBSD
Part I: Install Mail server: Postfix+vm-pop3d+openwebmail
Welcome to share this article, but to retain the following copyright information:
Author: llzqq
Contact: llzqq@126.com
The following installation is done on the FreeBSD 5.2.1 system
1. Update ports
# CVSUP-GL 2-h Cvsup.freebsdchina.org/usr/share/examples/cvsup/ports-supfile
2. Install Ope
Because the file system is a very important part of the system, the task of maintaining the file system is also very important. This task includes checking, fixing the file system, and adjusting the tree to fit the changes in the system, adding new storage devices, etc.
Check your hard drive
There is no problem with the file system when using FreeBSD under normal circumstances. However, in some cases, if the computer's power is cut off without a nor
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.