Changing Hostname & Password in BackTrack3

| 15 August 2008 | |
How do I change hostname in BT3?
Navigate to rc.M file, bt ~ # nano /etc/rc.d/rc.M,

Original condition of rc.M,

# Set hostname by using DHCP response
ls -aA1b /etc/dhcpc | egrep ".info\$" | while read INFOFILE; do
# the next line won't affect rc.M variables, because it's in >while read< loop
. /etc/dhcpc/$INFOFILE
echo "bt."$DOMAIN >/etc/HOSTNAME
break
done

Few changes are made such below and save it by pressing CTRL+O.

Example 1.


Example 2.


How do I change password in BT3?
Login normally in BT3, open a shell console and type bt ~ # passwd. Change your password as you desired.

How do I change login notice in BT3?
Simply navigate to issue file, bt ~ # nano /etc/issue and save it with CTRL+O.

0 comments:

Post a Comment