With admin option and with GRANT option in the authorization

Source: Internet
Author: User

Oracle

When a user is granted system privileges with admin option, he can grant this permission to other users, roles, and do not cascade the permissions that he grants to other users when revoke is granted the user's system privileges. If a user P system permission is granted with the WITH admin option parameter, then a gives the system permission p to User B, and then revoke the P permission granted to a user, at which point the P permission granted to B is not cascaded back, which means B also has P system privileges.

The parameters of the object permission with GRANT option are cascaded to reclaim object permissions. If you grant the A user O object permission with the WITH GRANT option parameter, a gives the O object permission to User B, and if revoke grants the O object permission to a, it revoke the O object permissions that B is granted.


Mysql:

Only with GRANT option in MySQL, a user authorization, a can be granted to other users, when the authorization to a is withdrawn, a grant to other users will not be cascaded back. Note that with GRANT option can also be granted to other users.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.