码迷,mamicode.com
首页 >  
搜索关键字:superuser    ( 146个结果
一直出现 Enter passphrase for key '/root/.ssh/gitkey12.pub'
案例: 我一下没有设置密码的pub key, 一使用就要求: Enter passphrase for key '/root/.ssh/gitkey12.pub', 原因:本该设置私钥的地方,设置成了公钥。。(错误提示,牛头不对马嘴。。。) 1. 解决方案 http://superuser.com/ ...
分类:其他好文   时间:2017-01-22 18:16:11    阅读次数:227
给postgresql 创建新的用户
\du 查看当前postgresql的用户,一般此时只能看到 postgres create user ysr superuser password '123456'; \du 就可以看到两个用户了。 参考:http://www.cnblogs.com/stephen-liu74/archive/2 ...
分类:数据库   时间:2016-12-24 20:00:10    阅读次数:1013
kali python pip3 的安装和卸载
今天很高兴安装完成调整了kali 然后看见kali已经帮助我安装了python2.7和python3.5可把我开心坏了,可是2.7有pip,而且包很全,但2.7与3.0切换使用我的就尴尬了 最后在superuser里面找到了答案 安装 卸载 值得注意的是,使用的时候是pip3 install 《需要 ...
分类:编程语言   时间:2016-12-19 19:23:25    阅读次数:928
Cassandra 配制 cassandra.yaml
一、设置用户名和密码 修改cassandra.yaml配置文件 把默认的 改成 如果你需要登陆进去以后查看修改权限之类,需要修改 为 启动cassandra cql连接,cassandra是默认账户和密码 创建用户 这里用户有两种,一个是superuser (超级用户),一种是nosuperuser ...
分类:其他好文   时间:2016-12-08 11:54:12    阅读次数:219
sudo详解
sudo详解目录前言 1、原理 二、命令 三、sudo配置 1、配置文件 2、时间戳文件 3、日志文件 4、配置文件支持使用通配符glob5、配置文件规则有两类6、授权规则 1)授权格式 2)格式说明 7、sudo别名 1)别名有四种类型2)别名格式 前言 Sudo(substituteuser[或superuser]do),是..
分类:其他好文   时间:2016-12-04 23:44:55    阅读次数:515
vim - save current file with a new name but keep editing current file
http://superuser.com/questions/414110/vim-save-a-file-as-a-different-filename-but-keep-w-as-the-current-filename :w someOtherFile.c it will write to t ...
分类:系统相关   时间:2016-12-02 14:10:04    阅读次数:263
Linux su和sudo命令的区别,并获得root权限
su(superuser) su表示切换用户,如: 输入:su命令后回车表示切换当前的用户到root用户,或者: 输入:su - root(或者其他用户名)这里加了"-"后表示也切换的当前的环境变量到新用户的环境变量。 su root(或者其他用户名)表示不切换环境变量到当前用户下。 sudo 表示 ...
分类:系统相关   时间:2016-11-09 17:36:29    阅读次数:210
autohotkey-【GUI】Switch between Windows of the Same Application
下面给出了ahk的脚本,但我需要GUI http://superuser.com/questions/435602/shortcut-in-windows-7-to-switch-between-same-applications-windows-like-cmd http://www.ntwind ...
分类:移动开发   时间:2016-10-31 06:56:52    阅读次数:212
linux学习小记 (一 )
shell学习小记: 注意:多看系统脚本多模仿 su切换用户时需要输入目标用户密码,root(superuser)切换到任何用户都不需要输入密码,-参数必须要是最后一个(suhuhu-) sudo需要输入当前用户密码,拥有sudo特权的用户可以执行"sudosu-"命令,使用自己的密码切换到root用户, 所以..
分类:系统相关   时间:2016-09-07 23:15:22    阅读次数:250
django 认证系统--2
使用django的认证系统 User 对象 User是认证系统的核心。典型代表是用户和你的站点进行交互还有限制访问、注册用户等等。django认证框架中,只存在一个User类,像'superuser'和'staff'等等都是User的对象,只是某些属性不一样而已。 User继承自一个抽象基类,提供了 ...
分类:其他好文   时间:2016-09-06 22:47:39    阅读次数:394
146条   上一页 1 ... 8 9 10 11 12 ... 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!