How to create an account for the CLI and for Samba
I'm creating my first account today. It needs to be able to SSH into the CLI then access Samba shares. Is the following how you do it? I found this on the web but aren't sure. Also, how do you set the password for the account?
useradd -d /home/username -s /bin/bash -n username smbpasswd -a username |
for witch account? the samba user? if that is your question you are adding the password with smbpasswd.
If you mean for the adduser or useradd, both do the same thing, after you create the account/user just type user passwd and hit enter. it will prompt you for the old password then for you to type in the new password 2x in a row. |
Quote:
useradd <user> passwd <user> smbpasswd -a <user> smbpasswd <user> of course, there are ways to automate all of this if needed |
Hi,
Quote:
Quote:
|
All times are GMT -5. The time now is 12:34 PM. |