In the last version of backtrack I think all you had to do was edit this file:
I don't see that file on the new backtrack.
Anyone know how to change the computer name?
I looked at that script and all it says it it takes the value from the etc/hostname and applies it. But something else is must be writing to the /etc/hostname on boot like it did in the old versions of backtrack. If I change the name in that file, and reboot, the name is changed back(yes I have persistent changes).
for me to chnage the hostname, all i did was change the name in the hostname file and reboot
Wiffy-Auto-Cracker - was the best thing that ever happen to me. :) Wo0oT :)
You could just make your own start up script.
Create script in init.d, ex: /etc/init.d/startupname.sh
Code:nano startupname.sh #!/bin/bash hostname LeetpwnsauceCode:update-rc.d startupname.sh defaults chmod +x /etc/init.d/startupname.sh
Yeah, I have a bunch of text files and a few scripts on my desktop that I made, and they stay in place after reboot.
I was thinking I might try making a second admin account and change the permissions on the /etc/hostname file so the new admin has full control, and everything else only has read.
That's under the assumption backtrack is changing the file on boot.
So Lincoln, are you running the newest 'pre-final' release? If so, you're able to change the name and it sticks after reboot? If so, it must be something with how I made my usb flash card....