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