Basic Usage: Logging in To Backtrack
Basic Usage: Logging in To Backtrack
home
forums
blog
training
downloads
about
Basic Usage
Getting Started Kernel Customization Information Gathering Vulnerability Identification Exploitation Radio Network Analysis Privilege Escalation Telephony Hardware Forensics Known BackTrack Bugs FAQ search
> > > > > > > > > > > Contents [hide] 1 Logging in to BackTrack 2 Starting a GUI Environment 3 X wont start! 4 Getting Networking to work 4.1 Setting your IP manually 4.2 Getting a static IP to stick between reboots 4.3 Getting an IP from DHCP 4.4 Using the script to start networking 4.5 WICD Network Manager 5 Changing the root password 6 Starting services 7 Common apt commands 8 Common dpkg commands 9 How do I find more information on a particular command or programs usage ?
Logging in to BackTrack
Once the installation of BackTrack is done, the default username and password required to log in are root / toor. Go Search
NOTE: You will not be able to see the password as you type it.
toolbox What links here Related changes Special pages Printable version Permanent link
X wont start!
In rare occasions (such as after a VMware tools install, or when using unsupported Video cards), X will refuse to start. If that happens you have several options you can try in order to fix the issue: Reconfiguring the X server package, you can reset (and often fix) Xorg configurations with the following command:
root@bt:~# dpkg-reconfigure xserver-xorg
If you are using Backtrack 5 on x64 with KDE you should try the following:
root@bt:~# rm /root/.kde/cache-*
NOTE: Sometimes you may need to also remove the cache folders in /var/tmp by issuing the following command:
root@bt:~# rm -rf /var/tmp/kdecache-*
converted by Web2PDFConvert.com
Edit the file as appropriate, then have the network come up automatically at boot time:
root@bt:~# update-rc.d networking defaults root@bt:~# /etc/init.d/networking restart
Menu > Internet > Wicd Network Manager NOTE: Notice that when starting WICD you will get an error:
In order to get rid of this error you have to reboot Backtrack, than BEFORE starting WICD open up a terminal and type in the following:
root@bt:~# dpkg-reconfigure wicd root@bt:~# update-rc.d wicd defaults
Starting services
BackTrack has various services such as Apache, SSH, MySQL, VNC, etc. They are all disabled by default. To start a service such as SSH, you can use the service init scripts. For example, to start the SSH service:
root@bt:~# sshd-generate # Specific to the SSH service - needed to generate SSH keys root@bt:~# /etc/init.d/ssh start Starting OpenBSD Secure Shell server: sshd. root@bt:~# /etc/init.d/ssh stop Stopping OpenBSD Secure Shell server: sshd. root@bt:~#
When using a ssh server for the first time on Backtrack you will need to generate keys:
root@bt:~# sshd-generate
To enable a service at boot time, you can use the update-rc.d command, for example, having SSH start at boot time:
root@bt:~# update-rc.d Adding system startup /etc/rc0.d/K20ssh -> /etc/rc1.d/K20ssh -> /etc/rc6.d/K20ssh -> /etc/rc2.d/S20ssh -> /etc/rc3.d/S20ssh -> /etc/rc4.d/S20ssh -> /etc/rc5.d/S20ssh -> root@bt:~#
-f ssh defaults
for /etc/init.d/ssh ... ../init.d/ssh ../init.d/ssh ../init.d/ssh ../init.d/ssh ../init.d/ssh ../init.d/ssh ../init.d/ssh
converted by Web2PDFConvert.com
Another very good resource on linux command usage can be found at linuxcommand.org Some programs do not have a man page, but you can usually get more information on it's usage by typing:
root@bt:~# <program name> Just the program name without any arguements.
or
root@bt:~# <program name> -help
or
root@bt:~# <program name> --help
or
root@bt:~# <program name> -h
Some programs use other methods, but they are usually just a variation of one of the above five commands.
Privacy policy
Disclaimers
converted by Web2PDFConvert.com