修改用户密码步骤: 1、命令行下输入命令passwd 2、提示你输入当前用户的当前密码 3、输入新密码 4、再次输入新密码 5、输入命令exit退出 6、用新密码登录 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51074/showart_431478.html
redhat如果忘记root密码可以通过修改grub在登陆后面加入single就可以登陆修改,但是debian不行 debian需要修改: ro-->rw single init=/bin/bash 指后要用 mount -no rw,remount / passwd root 修改密码 sync mount -no rw,remount / reboot 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/88527/showart_1721720.html
前段时间忙着搞其他的电脑,冷落了这台debian,现在可好,root密码也记不得了。 于是 1.在grub选项下选择'debianGNU/Linux,...(recoverymode)',按e进入编辑模式 2.编辑kernel那行最后面的rosingle改成rwsingleinit=/bin/bash,按b执行boot 3.进入后执行下列指令 root@(none)#mount -a root@(none)#passwd root root@(none)#reboot 哈哈,搞定, 本文来自ChinaUnix博客,如果查看原文请点:http://...
1. 修改~/.bashrc中: # enable color support of ls and also add handy aliases if [ "$TERM" != "dumb" ]; then #eval "`dircolors -b`" eval "`dircolors ~/.dircolors`" alias ls='ls --color=auto' #alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long' fi 2. $dircolors -p > ~/.dircolors 3. 修改~/.dircolors中的:" DIR 01;34 # directory " 为自己喜欢的...
作者: Relief 出自: http://www.linuxdiyf.com 1. 修改~/.bashrc中: # enable color support of ls and also add handy aliases if [ "$TERM" != "dumb" ]; then #eval "`dircolors -b`" eval "`dircolors ~/.dircolors`" alias ls='ls --color=auto' #alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long' fi 2. $dircolors -p > ~/.dircolors 3. 修改~/.dircolors中的:" DIR 01;34 #...