Results 1 to 2 of 2

Thread: Sudo

  1. #1
    Join Date
    May 2010
    Posts
    8

    Unanswered: Sudo

    Hello,

    i have question regarding sudo access.Can you do a sudo to a group?? or is sudo only for to login as another user???

    -> if i do a sudo to the group will i acquire all the roles assigned to that group?
    eg: sudo su - admin

    admin is a group

    i am little confused here.

    thanks,

  2. #2
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,369
    su is used to switch to another user.

    "sudo su -root" or "sudo <some db2 command that needs root privilege>" is frequently used by DBAs to get root access.

Posting Permissions

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