单项选择题

如果要免交互为tom用户设置一个登录系统的密码,下列操作正确的是()

A.echo"123"〡passwd tom--stdin
B.passwd tom
C.password tom
D.echo 123 passwd tom