叶佑群 wrote:
Hi, all
I have code as:
/pobj = subprocess.Popen (["smbpasswd", user], stdin
=subprocess.PIPE)
password += "\n"
pobj.stdin.write (password)
pobj.stdin.write (password)/
the command smbpasswd will change the samba user's passwor
On Wed, Apr 25, 2012 at 12:21 PM, 叶佑群 wrote:
> Hi, all
>
> I have code as:
>
> pobj = subprocess.Popen (["smbpasswd", user], stdin
> =subprocess.PIPE)
> password += "\n"
> pobj.stdin.write (password)
> pobj.stdin.write (password)
>
> the comma
Hi, all
I have code as:
/pobj = subprocess.Popen (["smbpasswd", user], stdin
=subprocess.PIPE)
password += "\n"
pobj.stdin.write (password)
pobj.stdin.write (password)/
the command smbpasswd will change the samba user's password, In
shel