Results 1 to 4 of 4

Thread: Disable autologin and change the hostname in BT5 R1 Persistent

  1. #1
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    2

    Default Disable autologin and change the hostname in BT5 R1 Persistent

    Greetings,

    I installed BT5 R1 persistent on my USB stick but I can't seem to change the hostname. Every time I reboot it reverts to "root". This is what I did:
    Code:
    root@root:~# hostname testname
    root@root:~# echo testname > /etc/hostname
    root@root:~# hostname
    testname
    root@root:~# logout
    root@testname:~# _
    It works but it won't stay, if anyone could tell me what I'm obviously doing wrong?

    My other issue is that when I boot BT it automatically logs in the root user. I tried changing the /etc/init/tty*.conf files to call /bin/login without parameters (default is /bin/login -f root) but every time I reboot the files are getting reverted to the original and root is being logged in again.

    I guess those files keep reverting because of some startup script that keeps loading default values but I can't find them, so if anyone could point me in the right direction, that would be really great!

    Thank you!
    ~Gachl

  2. #2
    Good friend of the forums gunrunr's Avatar
    Join Date
    Jan 2010
    Location
    shining my spoon
    Posts
    265

    Default Re: Disable autologin and change the hostname in BT5 R1 Persistent

    are you sure its persistent? Do your other changes stay? Those are parameters i never really found the need to change. We don't really recommend logging in as anything other than root, mostly because most of the tools here require it.
    Wielder of the spoon of doom
    Summercon, Toorcon, Defcon, Bsides, Derbycon, Shmoocon oh my
    Come hang out with hackers on twitter @gunrunr556

  3. #3

    Default Re: Disable autologin and change the hostname in BT5 R1 Persistent

    Gachl what caind of installation did you make?
    Have you tried this: Persistent USB

    Cheers

  4. #4
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    1

    Default Re: Disable autologin and change the hostname in BT5 R1 Persistent

    Quote Originally Posted by Gachl View Post
    Greetings,

    I installed BT5 R1 persistent on my USB stick but I can't seem to change the hostname. Every time I reboot it reverts to "root". This is what I did:
    Code:
    root@root:~# hostname testname
    root@root:~# echo testname > /etc/hostname
    root@root:~# hostname
    testname
    root@root:~# logout
    root@testname:~# _
    It works but it won't stay, if anyone could tell me what I'm obviously doing wrong?

    My other issue is that when I boot BT it automatically logs in the root user. I tried changing the /etc/init/tty*.conf files to call /bin/login without parameters (default is /bin/login -f root) but every time I reboot the files are getting reverted to the original and root is being logged in again.

    I guess those files keep reverting because of some startup script that keeps loading default values but I can't find them, so if anyone could point me in the right direction, that would be really great!

    Thank you!
    ~Gachl


    Hi all,

    I have the same problem here in my USB persistent backtrack 5 R2. How can i disable auto login in usb persistent mode?

    Thank you

Similar Threads

  1. Replies: 1
    Last Post: 05-25-2010, 12:17 PM
  2. How do i change the Hostname in backtrack 4?
    By egmo8r in forum Beginners Forum
    Replies: 5
    Last Post: 05-20-2010, 10:54 AM
  3. How to change the computer name / Hostname ?
    By IAMZOMBIE in forum OLD BackTrack 4 General Support
    Replies: 12
    Last Post: 09-17-2009, 01:46 PM
  4. BT4 USB persistent change issues.
    By the joker in forum OLD BackTrack 4 General Support
    Replies: 2
    Last Post: 08-28-2009, 04:42 PM
  5. Change hostname BT4
    By neevice in forum OLD Newbie Area
    Replies: 5
    Last Post: 04-09-2009, 08:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •