Userguide not working for me

Scott Abbey scott at wangfu.org
Fri Jul 27 23:41:03 UTC 2007


On Friday 27 July 2007 17:07:47 Leonard Chatagnier wrote:
> ...
> lchata at ubuntu:~$ sudo smbpasswd -a system_username
> New SMB password:
> Retype new SMB password:
> Failed to modify password entry for user
> system_username
> lchata at ubuntu:~$ sudo useradd lchata
> useradd: user lchata exists
> lchata at ubuntu:~$ sudo smbpasswd -a system_username
> New SMB password:
> Retype new SMB password:
> Failed to modify password entry for user
> system_username
> lchata at ubuntu:~$
>
> Why doesn't this work if the commands are to be
> entered literally as written in the guide????

You should be changing "system_username" to the username you wish to enable 
SMB access for. In your case it appears to be "lchata". Using that, it should 
be as follows:

  lchata at ubuntu:~$ sudo smbpasswd -a lchata

Enter your password of choice when prompted, and you should be all set. It's 
returning errors because, I assume, there is no user on your system 
named "system_username".

This is part of the problem with the *Unofficial* Ubuntu Guide (emphasis 
added): it tells you what to do, but without any explanation as to why. I 
would suggest reading up on the official Ubuntu documentation on Samba:

  https://help.ubuntu.com/community/SettingUpSamba
  https://help.ubuntu.com/community/ComprehensiveSambaGuide

These links contain a lot of very good information on setting up and using 
Samba, both as server and client, for Ubuntu and Windows.

--
Scott

Please do not send me copies of list mail. I read the lists. Thanks!




More information about the ubuntu-users mailing list