Enable other users to run Oracle commands in SUSE Linux

Source: Internet
Author: User

How to run Oracle commands in SUSE Linux:

Suid/guid:
Non-Oracle users are required to run oracle commands such as sqlplus.

Solution:
If you want to set s u I d, set the one before the corresponding permission bit to 4; if you want to set g u I d, set the one before the corresponding permission bit to 2. If you want both of them to be set, set the one before the corresponding permission bit to 4 + 2.

Once this bit is set, an s will appear at the position of x. Note: When setting s u I d or g u I d, the corresponding execution permission limit must be set. For example, if you want to set g u I d, you must grant the user group the execution permission.

If you want to set s u I d for the file l o g I n, the current permission is rwx rw-r -- (741 ), when you use the c h m o d command, add a 4, chmod 4741, to the front of the permission number, which changes the permission of the file:

R w s rw-r --. $ Chmod 4741 logit

To solve this problem, you can set it as follows:

# Chmod 6755 $ ORACLE/HOME/bin/oracle.exe

Related Article

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.