The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 How To Do
Author: azizi 
Date:   01-03-05 12:29

a) able to view & change IP address
b) Able to enable and disable some of the services like ftp, telnet etc.
c) Add a normal user
d) Delete a normal user
TCPDUMP
SNMP
Ethereal
Windows working. A nam process is running.

Reply To This Message
 
 Re: How To Do
Author: Sergiu-IT 
Date:   01-03-05 21:42

a)
Try ifconfig. With ifconfig you can view or change the IP address of your NIC. Or, you can specify it on your /etc/rc.conf file, so the IP is automaticaly set when FreeBSD starts. It should be like this :
ifconfig_xl0="inet 192.168.0.1 netmask 255.255.255.0"
depending on your NIC, the IP you want to set, netmask, etc... Try "man ifconfig" also.

b)
Edit the /etc/inetd.conf file. FTP, telnet and a lot of other services are started by inetd (the unix superserver). Edit the file and if you find a service that you don't want to be active simply add a # at the beginning of the line. When you restart the inetd (or the computer) that service will not be available... anyway, some services like apache are a little bit different. You can read some manuals for that :-)

c)
adduser

d)
rmuser



Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org