accessing files in linux

Discussion in 'Linux / Unix Discussion' started by Danmurph, Feb 16, 2010.

  1. Danmurph

    Danmurph Byte Poster

    127
    1
    27
    Hi guys,

    I got a copy of fedora installed and shorewall installed. I have managed to edit the files by creating a second root user but am not happy doing this as everyone advises against it for security reason.
    How do I set either user privelages or file or folder permissions so I can edit the files without having to login with this root account. I just can't seem to do it, even if i su - in terminal I can read the file but seem to be able to edit it,

    Hope this makes sense, I am very new, but have to say enjoying it!:D

    Danny
     
    Certifications: MCDST, MCP, A+
    WIP: Everything!!
  2. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    chmod and chown
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  3. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    never used chown before or Linux but in Unix if I remember correctly you would type chmod r name of file to read the contents of file or directory and linux is justa broken down version of Unix.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  4. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    You would use chown for owners and groups and chmod for permissions
     
    Last edited: Feb 17, 2010
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  5. Danmurph

    Danmurph Byte Poster

    127
    1
    27
    I've tried this but with no joy, I just want to give the user access to the files in the shorewall to access/make changes and save, unless I'm logged in as root, I can't even see the files in the GUI interface
     
    Certifications: MCDST, MCP, A+
    WIP: Everything!!
  6. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    Tell us the FULL command you used, makes it easyier to let you know where you went wrong.
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  7. Danmurph

    Danmurph Byte Poster

    127
    1
    27
    sorry guys, I was trying to run before I could walk, sorted it with the chmod command, I am starting to really like this OS (being a strict windows user my whole life). Its so.........not windows!!
    Really is like a breath of fresh air :D
     
    Certifications: MCDST, MCP, A+
    WIP: Everything!!

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.