Results 1 to 2 of 2

Thread: BackTrack 5 Non-root user

  1. #1
    Just burned his ISO
    Join Date
    Oct 2011

    Default BackTrack 5 Non-root user

    I know root is the only account that's officially supported; however in some circumstances using named accounts might be helpful. A friend of mine had a situation where his company has a server they use for pen testing and the have a couple of testers. They wanted the logging to reflect their usernames vs. the shared root account. Using the following article, I helped them to get it working, but there were some changes necessary to get X started. Note that if you attempt this, you'll need to use sudo for most things you do. Aside from a few minor errors, I haven't found anything that doesn't work. TIFWIW. All of my testing was done with BT5 R1 64bit KDE.

    Read the above first for specifics, then below is what I did that worked for me...

    Most of the commands below you'll run as the root account. You'll then switch to your new user account mid way through.

    Copy various configuration files to the /etc/skel directory

    cp /root/.<folder name> /etc/skel
    The following folders are what I copied

    Create your new user:

     adduser <username>
    Add user to groups:
    usermod --groups admin,disk,cdrom,audio <username>
    Login as the new user to console

    Allow user to start their x session (if you fail to do the command below and attempt to start X as your new user, you will get a black screen):

    sudo chown <user>:<user> /home/<username>/Desktop/.Xauthority
    allow user to make KDE changes:

    sudo chown <user>:<user> /home/<username>/.kde/share/config/kmixrc
    sudo chown <user>:<user> /home/<username>/.kde/share/config/kmixctrlrc
    At this point you should be able to startx and get the normal BT5 environment.

    Hope this helps anyone else who's in a similar situation.

  2. #2
    Moderator g0tmi1k's Avatar
    Join Date
    Feb 2010

    Default Re: BackTrack 5 Non-root user

    Like the original poster mentioned, adding another users to backtrack isn't supported.
    If you wish to do so, we are unable to give support.
    Have you...g0tmi1k?

Similar Threads

  1. Replies: 20
    Last Post: 02-24-2011, 12:00 AM
  2. user can read root
    By najib in forum OLD Newbie Area
    Replies: 1
    Last Post: 10-01-2009, 02:19 PM
  3. No sound with not root user
    By Damocle in forum OLD Newbie Area
    Replies: 1
    Last Post: 06-16-2009, 01:25 PM

Posting Permissions

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