Posts Tagged “Debian”

webmin is web-based interface to manage unix system from web browser. Debian don’t have a webmin package in his official repository. To install webmin :

download the deb package from webmin homepage, and install with the command:

dpkg -i webmin_version.deb

OR

add the webmin repository in the sources.list of your debian:

deb http://download.webmin.com/download/repository sarge contrib

and then install the package:

apt-get update && apt-get install webmin

Then connect at webmin with your browser at: https://127.0.0.1:10000 and login as root.

Here some screenshots:

Comments No Comments »

What is sudo:  sudo (super user do) permit users to execute commands with privileges of other users, usually it is used to permit normal users to execute commands with root privileges. Sudo has the convenience to limiti the use of root account and to logging, both successful and unsuccessful, attempts to log file.

The syntax of sudo is:

# sudo [options] command_to_execute

now sudo, by default, requires that user autheticate themselves with his system password (not root password); an user is authorized to use a command if he is listed in /etc/sudoers file, but if he is unauthorized a mail is sent to root or  to user specified in config file.   To install sudo in Debian run:

# apt-get install sudo

 The configuration file of sudo is /etc/sudoers, it is editable vith the utility visudo: it open the sudoers file with your system editor and do the check of file syntax. The syntax of file sudoers

P.S.: be carefull when you configure sudo, it is a very powerful tool, that used in wrong way can damage the system.

For a good configuration of sudoers file see this link: www.courtesan.com/sudo/man/sudoers.html

Bye Bye.

 

Comments No Comments »

The first step is to config the kernel:

in Networking/Bluetooth subsystem support:

then in Bluetooth device drivers, select the driver of your bluetooth device or select all if you don’t know your device driver:

add teh support for PPP:

Now install the bluetooth protocol stack in debian:

# apt-get install bluez-utils bluez-firmware bluez-hcidump

Now is necessary to restart the hcid daemon, in debian:

# /etc/init.d/bluetooth start

to verify if configuration is ok, run:

# hciconfig

if the output is like the following, the bluettoth config is OK:

to list all the device:

to scan the remote devices, run:

# hcitool scan

"hcidump" util is a packet analyzer or a sniffer

Comments 3 Comments »