Results 1 to 5 of 5

Thread: Permissions and rights

  1. #1

    Permissions and rights

    Hi all,

    I'm running Red Hat 7.2 and would like to setup my user account to have the same rights as the root account (not all, just some of the same rights). In particular, I would like to be able to edit files in the /usr directory. How would I go about doing this?

    Thanks for the help.

  2. #2

    Re: Permissions and rights

    Find the files you want to edit, make sure they have the group-write bit set (chmod g+w file), then put yourself in the group of those files.

  3. #3

    Re: Permissions and rights

    Instead of that hassle, give your user rights to sudo in /etc/sudoers.

    Just mirror what's above.

    Then when you want to do something that requires root access, type sudo first. so to edit /etc/passwd,

    [user@host etc]$ sudo passwd


    and it will work for you.

  4. #4
    Guest

    Re: Permissions and rights


    link=board=general&num=1007076702&start=0# 2 date=11/30/01 at 23:08:40]
    Instead of that hassle, give your user rights to sudo in /etc/sudoers.

    Just mirror what's above.

    Then when you want to do something that requires root access, type sudo first. so to edit /etc/passwd,

    [user@host etc]$ sudo passwd


    and it will work for you.
    umh, isn't that very similar to just su'ing when u need root access?

  5. #5

    Re: Permissions and rights

    One less setup. Plus youi don't have to exit out of su when you are done.

Similar Threads

  1. Protect your computing rights!
    By Fatal Error in forum General Chat
    Replies: 0
    Last Post: 05-21-2005, 02:58 PM
  2. Renter's Rights?
    By gmoreno in forum General Chat
    Replies: 12
    Last Post: 07-10-2004, 09:43 PM
  3. Consumer Rights - Eye Care
    By gmoreno in forum General Chat
    Replies: 13
    Last Post: 11-25-2003, 05:41 AM
  4. Samba share rights
    By trickster in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 10-07-2003, 02:36 PM
  5. Rights to a Fat32 folder
    By trickster in forum Linux - General Topics
    Replies: 13
    Last Post: 03-05-2002, 02:42 PM

Bookmarks

Posting Permissions

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