Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
The first time I installed ubuntu on a flash drive a with universal usb installer it worked fine. I ended up switching to Incognito because I believed my ubuntu installation ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    5

    Issue with root in new install

    The first time I installed ubuntu on a flash drive a with universal usb installer it worked fine. I ended up switching to Incognito because I believed my ubuntu installation was hacked. I later ended formatting my flash drive because windows would not recognize it and I wanted to go back to ubuntu but be more careful and set up a firewall along with other security programs before even connecting to the internet. Ubuntu installs fine but root does not work. Man root is sometimes at the top of the terminal and yet whenever I try to run root ubuntu says it is not installed. Ubuntu cannot install root from the bin either because it is not found. I tried creating several accountants with full admin rights and I get the same error. I checked the boot log and found the error “unable to find schema for key daemon default session”.

    I tried installing Ubuntu several times and get the same exact error every time. I also tried formatting with “sdformatter v2.0” and “HP USB Disk Storage Format Too” along with the format option in the installer which does not change anything. Could somebody please give newbie friendly directions on how to fix this or reinstall without having the same issue.

  2. #2
    Just Joined! REVEREND_FLIBBLE's Avatar
    Join Date
    Jun 2007
    Posts
    26
    if you are trying to login as root with a gui, then you probably shouldn't.

    to get access to root from the command line in Ubuntu:

    you must first make a password for root (because ubuntu is sudo-bound)
    Code:
    username@localhost:$ sudo su 
    username@localhost:# passwd
    Then everytime you login after that
    Code:
    username@localhost:$ su
    will get you in

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    5
    I know how to use root functions. This is what I get in terminal
    "administrator@ubuntu:~$ root
    The program 'root' is currently not installed. You can install it by typing:
    sudo apt-get install root-system-bin
    administrator@ubuntu:~$ sudo apt-get install root-system-bin
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package root-system-bin
    administrator@ubuntu:~$:

  4. #4
    Just Joined! REVEREND_FLIBBLE's Avatar
    Join Date
    Jun 2007
    Posts
    26
    you dont login to root using
    Code:
    administrator@ubuntu:~$ root
    you login to root using
    Code:
    administrator@ubuntu:~$ su
    su = substitute user
    Last edited by REVEREND_FLIBBLE; 06-23-2010 at 06:50 PM. Reason: // edited for accuracy, good to know, see response bellow

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    actually, su = substitute user, su with no arguments defaults to superuser (root)

    but, you are correct, you must log in as root (preferably in a terminal) by using the su command, I recommend using su - to inherit the environment variables for root while executing commands as such

  6. #6
    Just Joined!
    Join Date
    Jun 2010
    Posts
    5
    This is my second install of ubuntu. The first install I was able to use sudo root just fine. This time just typing in root will tell me to install root and adding sudo will say command not found. I tried using su but every time terminal said wrong password even though the only password I set up was for an administrator accoutant which did not work.

  7. #7
    Just Joined! REVEREND_FLIBBLE's Avatar
    Join Date
    Jun 2007
    Posts
    26
    refer to my post above, to get into su, use sudo su, then set your password

  8. #8
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114

  9. #9
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    package root-system-bin indeed provides the "root" command, but it is a numerical data analysis framework, is this what you want?

    If what you need to do is switch to root user, you need to use commands as described above.

  10. #10
    Just Joined!
    Join Date
    Jun 2010
    Posts
    5
    Okay I got root working through su and set up my password. But I need it working through sudo root so that I can set firestarter to boot with ubuntu. Typing sudo root gives command not found and typing root still tells me to install the files. I tried installing the deb but got the error "dependency is not satisfiable:libroot5.18(>=5.18.00)

Page 1 of 2 1 2 LastLast

Posting Permissions

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