分类: LINUX
2013-05-03 15:58:16
原文地址:linux创建新用户后shell无法自动补全命令 作者:laoyouji
root@lqding:~# su - lqding $ $ echo $USER lqding $ ^[[A |
root@lqding:~# grep lqding /etc/passwd lqding:x:1000:1000::/home/lqding:/bin/sh root@lqding:~# |
root@lqding:~# vi /etc/passwd root@lqding:~# grep lqding /etc/passwd lqding:x:1000:1000::/home/lqding:/bin/bash root@lqding:~# su - lqding lqding@lqding:~$ |