Re: Samba 3.0 - gdzie jest lista użytkowników...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jarek Buczyński napisał(a):
> Hej,
>
> Jak sprawdzić listę użytkowników samby, użytkownicy zostali dodani przy
> pomocy smbpasswd -a user. W katalogu samby nie ma żadnego pliku gdzie można
> by znaleźć jakiekolwiek informacje o użytkownikach?
NAME
pdbedit - manage the SAM database (Database of Samba Users)
SYNOPSIS
pdbedit [-L] [-v] [-w] [-u username] [-f fullname] [-h
homedir] [-D drive] [-S script] [-p profile] [-a] [-t, --password-from-
stdin] [-m] [-r] [-x] [-i passdb-backend] [-e
passdb-backend] [-b passdb-backend] [-g] [-d debuglevel] [-s configfile] [-P
account-policy] [-C value] [-c account-control] [-y]
DESCRIPTION
This tool is part of the samba(7) suite.
The pdbedit program is used to manage the users accounts stored
in the sam database and can only be run by root.
The pdbedit tool uses the passdb modular interface and is
independent from the kind of users database used (currently there are
smbpasswd, ldap, nis+ and tdb based and more can be added without
changing the tool).
There are five main ways to use pdbedit: adding a user account,
removing a user account, modifing a user account, listing user
accounts, importing users accounts.
OPTIONS
-L This option lists all the user accounts present in the users
database. This option prints a list of user/uid pairs separated by
the ?:? character.
Example: pdbedit -L
- --
Pozdrawiam Krzysztof Jastrzębski <><
Jotka Usługi Informatyczne
jotka[at]jastrzebscy[dot]pl http://jotka.jastrzebscy.pl/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGL5iDgzQmZ4O8YgkRAgSpAJ44d9WS2Uv81N66qH3iW0dizQ4q/ACfcDhX
rJT+edHbv5wWRhhAL0TW8os=
=6zCh
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
Wideofelietony Tadeusza Mosza.
O biznesie dla wszystkich. Oglądaj >> http://link.interia.pl/f1a3c
Reply to: