## **oracle建立使用者,並賦予其特定許可權** ##
1、cmd進入命令列輸入輸入【sqlplus /nolog】進入oralce控制台;
2、進入控制台輸入【conn / as sysdba】,以管理員許可權登入;
3、登入成功輸入【create user 使用者名稱 identified by 密碼】,建立使用者名稱密碼;
4、建立成功,開始授予許可權輸入【grant create session to 使用者名稱】,授予連線資料庫許可權。
注: 許可權解釋:
grant unlimited tablespace to 使用者名稱;//操作表空間許可權
grant create table to 使用者名稱;//建立表許可權
grante drop table to 使用者名稱;//刪除表許可權
grant insert table to 使用者名稱;插入表許可權
grant update table to 使用者名稱;//更新表許可權
。。。。。。(不詳細論述了,網上有很全的論述以及解釋,可能以後也會補充)
以下是oracle賦予使用者查詢其資料庫表的一些特定許可權授予方式:
grant
create
session
to 資料庫名;
grant
select
on product_component_version to 資料庫名;
grant
select
on v_$parameter to 資料庫名;
grant
select
on v_$sgastat to 資料庫名;
grant
select
on v_$sga to 資料庫名;
grant
select
on v_$sysstat to 資料庫名;
grant
select
on v_$pgastat to 資料庫名;
grant
select
on v_$process to 資料庫名;
grant
select
on v_$session
to 資料庫名;
grant
select
on v_$instance to 資料庫名;
grant
select
on v_$sesstat to 資料庫名;
grant
select
on v_$statname to 資料庫名;
grant
select
on dba_free_space to 資料庫名;
grant
select
on dba_data_files to 資料庫名;
grant
select
on v_$log to 資料庫名;
grant
select
on v_$logfile to 資料庫名;
給普通使用者授予sudo許可權
給普通使用者授權sudo,用sudo 提公升普通使用者service命令許可權 1 切換root使用者,可以用vim etc sudoers對檔案編輯 先賦許可權chmod u w etc sudoers 但最好使用visudo命令編輯,原因兩點 一是它能夠防止兩個使用者同時修改它 二是它也能進行有...
linux普通使用者授予sudo許可權
1,root登入並新增sudo檔案寫許可權,並編輯該檔案 chmod u w etc sudoers vim etc sudoers2,找到root all all all,在下一行新增,替換為你的使用者 all all all3,備註 youuser all all all youuser all...
普通使用者裝配MySQL 普通使用者裝配MySQL
普通使用者安裝mysql linux這點很好,即使沒有許可權,也可以將自己想要的程式什麼的安裝到自己有許可權的目錄下。介紹一下怎麼在非root用 許可權下安裝mysql 參考 二 編譯 1 打上補丁 解壓mysql,並進入mysql 5.1.42目錄後,執行 patch np1 i mysql 5....