mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 20:35:26 +02:00
smbpasswd: add page (#3382)
This commit is contained in:
parent
21fd363ee4
commit
094242edc6
1 changed files with 20 additions and 0 deletions
20
pages/linux/smbpasswd.md
Normal file
20
pages/linux/smbpasswd.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# smbpasswd
|
||||
|
||||
> Change a user's SMB password.
|
||||
> Samba users must also have a local Unix account.
|
||||
|
||||
- Change the current user's SMB password:
|
||||
|
||||
`smbpasswd`
|
||||
|
||||
- Add a specified user to Samba and set password(user should already exist in system):
|
||||
|
||||
`smbpasswd -a {{user_name}}`
|
||||
|
||||
- Modify an existing Samba user's password:
|
||||
|
||||
`smbpasswd {{user_name}}`
|
||||
|
||||
- Delete a Samba user:
|
||||
|
||||
`smbpasswd -x {{user_name}}`
|
Loading…
Add table
Reference in a new issue