Need FreeBSD help: how to set up users permissions ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MadCat
    So Fucking Banned
    • Aug 2002
    • 696

    #1

    Need FreeBSD help: how to set up users permissions ?

    I have root access, and need to set up all possible permissions for a user (want to give him total control)

    Whats the command ?
  • Hansm
    Confirmed User
    • Jun 2002
    • 871

    #2
    chmod 777 FILE

    /usr/bin/chmod 777 FILE

    or is it in /sbin or /bin or /usr, do a locate chmod firsrt.

    Comment

    • adultguus
      Confirmed User
      • Jul 2004
      • 815

      #3
      Originally posted by MadCat
      I have root access, and need to set up all possible permissions for a user (want to give him total control)

      Whats the command ?
      Why would you want to do that? Just add him to the wheel group so he can login as root.
      Want to have your own review site in 2 minutes? Visit us now!
      For the surfers: Porn Reviews

      Comment

      • HorseShit
        Too lazy to set a custom title
        • Dec 2004
        • 17513

        #4
        Originally posted by adultguus
        Why would you want to do that? Just add him to the wheel group so he can login as root.
        well, that would be the sane thing to do

        Comment

        • Hansm
          Confirmed User
          • Jun 2002
          • 871

          #5
          1 file or server wide access

          big differtns so 777 is best solution for 1 file

          Comment

          • toddler
            Confirmed User
            • Jun 2002
            • 1911

            #6
            jesus. look, install sudo so at least you have a log of what this user does. You should only have to login as root in case of emergency. Everything else, you should really be using sudo. You can specify what commands a user can run with sudo in the /etc/sudoers file.

            run commands such as :

            sudo /etc/init.d/httpd start

            it will prompt for your login pw, and run the command as root. And it will LOG to /var/log/messages||syslog||sudo.log. So if your user fucks something up, you can look at the log and see what he does. Without process accounting or the like, you'll never know, as command histories are easy to overwrite with mutliple sessions.
            http://www.flickr.com/photos/zoddler/

            Comment

            Working...