Showing posts with label sudo. Show all posts
Showing posts with label sudo. Show all posts

Thursday, May 31, 2012

UBUNTU - EDIT SUDOER FILE PERMISSION

Set sudoer permission in admin group:

# nano /etc/group

Change/Add admin
*admin: name1, name2, name3

Ctrl X  >  Y  >  Enter

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.