Tuesday, April 24, 2012

UNIX/FREEBSD- EDIT SUDOER FILE PERMISSION

  1. Open Unix Server
  2. Login as root (sudo su)
  3. Type command:
    # setenv EDITOR ee
    # visudo
  4. Add within this line to add new sudoer:
    ## User privilege specification
    root ALL=(ALL) ALL
    hassan ALL=(ALL) ALL
  5. Press ESC to save & exit.
  6. Done.


0 comments:

Post a Comment