SAMBA и пользователи

sudo pdbedit -L – вывести список пользователей, которые есть в  SAMBA

sudo smbpasswd -a vova – добавить в  SAMBA пользователя с именем vova

sudo pdbedit -L -v – просмотр расширенной информации о пользователях SAMBA

[su_spoiler title=”Пример вывода sudo pdbedit -L -v” style=”fancy”]

tvs@TVS-Laptop:~$ sudo pdbedit -L -v
[sudo] password for tvs:
—————
Unix username: root
NT username:
Account Flags: [NDU ]
User SID: S-1-5-21-5788*********************************
Primary Group SID: S-1-5-21-****************************
Full Name: root
Home Directory: \\tvs-laptop\root
HomeDir Drive:
Logon Script:
Profile Path: \\tvs-laptop\root\profile
Domain: TVS-comp
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: 0
Password can change: 0
Password must change: 0
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

[/su_spoiler]

+ There are no comments

Add yours