09 2018 档案

摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- import os import socket,fcntl,struct #crontab下shell命令无法执行 def getHostInfo(): # cmd = r"ifconfig|grep -v 127|grep 'inet addr' |awk '{print $2}'|cut -... 阅读全文
posted @ 2018-09-12 16:12 fosonR 阅读(1832) 评论(0) 推荐(0)
摘要:oralce对权限管理比较严谨,普通用户之间也是默认不能互相访问的,需要互相授权 1.查看当前数据库所有用户: select * from all_users; 2.查看表所支持的权限: select * from user_tab_privs; 3.把表的权限赋予用户: grant select, 阅读全文
posted @ 2018-09-11 15:25 fosonR 阅读(802) 评论(0) 推荐(0)