Find the answer to your Linux question:
Results 1 to 6 of 6
when i type: (in the terminal) dir /root it says "permission denied"... now i am the admin and have a root password...... how can i sort it so that when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221

    Root Access through TERMINAL


    when i type: (in the terminal)

    dir /root

    it says "permission denied"... now i am the admin and have a root password...... how can i sort it so that when i type the commands it will either ask for the password, if not what can i do about accessing root directories ?

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Code:
    su -
    will change your current user to root.

  3. #3
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221
    sorry mate, i'm quiet new to linux, i don't get you...... can you show an example ?

  4. #4
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221
    nevermind, i think i get you now

    is this correct - if i type SU and then the root password, i will then have access to root directories ?

  5. #5
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    You just type that in the console.

  6. #6
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221
    yep kool, thankx for your help

    NO MORE REPLIES NEEDED

Posting Permissions

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