Find the answer to your Linux question:
Results 1 to 2 of 2
hi all I have booted my system with DSL. I have changed the GUI. (ie) instead of loading the default the GUI, i am running an exe. I changed the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Location
    India
    Posts
    78

    Smile Root access missing in DSL....Help

    hi all
    I have booted my system with DSL. I have changed the GUI. (ie) instead of loading the default the GUI, i am running an exe. I changed the file called .xinitrc with the exe name. The exe is executed successfully when the system default runlevel is 5. If any errors occurs in the exe, then showing some error respect to the exe and getting into the non user prompt named with dsl ( i havnt created the user, may be this is default). Now i want to provide the root Privileges to the dsl user.
    can anyone help me how to provide the root privileges to a non user?

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by East View Post
    hi all
    I have booted my system with DSL. I have changed the GUI. (ie) instead of loading the default the GUI, i am running an exe. I changed the file called .xinitrc with the exe name. The exe is executed successfully when the system default runlevel is 5. If any errors occurs in the exe, then showing some error respect to the exe and getting into the non user prompt named with dsl ( i havnt created the user, may be this is default). Now i want to provide the root Privileges to the dsl user.
    can anyone help me how to provide the root privileges to a non user?
    I don't know what "an exe" is. I suppose you mean a custom script or a given window manager or program. Anyway, I don't know what that does have to do with your question either.

    What do you exactly want to do? Try to describe so we can see how to properly orientate you in the best direction we can.

    If you just want to issue some commands with a given user id, you can use the command "su". If you use "su" con command line, you'll be asked the root password. Enter it and you are root.

    If you want you can use "su <username>" to change to any other username.

    You can also use sudo, but it might or might not be installed by default on your distro. The sudo usage is a bit more complex since it requires a proper configuration, though some distros comes with a default configuration to be able to use sudo with some basic commands.

    Sudo allows you to give you the efective user id of root to be able to run some programs without actually requiring you to log in as root. You should check the dsl documentation if you need to know more about sudo.

Posting Permissions

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