Re: 一个普通用户怎样才能够切换到另外一个没有密码的普通用户?
"肖盛文(Faris Xiao)"(atzlinux@163.com)@2005.08.12 13:27:44 +0000:
> useradd j 建立了一个普通用,并用 passwd 给它设置了密码
> vi /etc/shadow ,删除了 密码列。
>
> grep j /etc/shadow
>
> j::13007:0:99999:7:::
>
> 现在可以用 j 直接在终端登录了,不需要密码。
>
>
> 但是我用另外一个账号 ,使用 su j 的命令,
> su j
> Password:
try "space" for "no password"
> su: Authentication failure
> Sorry.
>
> 老是提示我失败。
>
> 请问,一个普通用户能够切换到另外一个没有密码的普通用户吗?
>
> --
>
> 肖盛文(Faris Xiao)
> Email:atzlinux@163.com
>
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
--
Jick Nan (nanjc#163.com) <http://www.freelamp.net>
=========================================================================
System Information: <Thx: Reberto & Peter>
| Debian Release: 3.1
.. | APT prefers testing
,' `. | APT police: (500, 'testing')
: :' ; | Architecture: i386
`. `' | Kernel: Linux 2.6.10
`- | Locale: LANG=zh_CN.GB2312, LC_CTYPE=zh_CN.GB2312
Reply to: