From 09a3e34e0610235e9ba0fd76e2bb53747191b9d7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 27 Sep 2002 16:43:34 +0000 Subject: Apply Vance Lankhaars' cifs2002 documentation patch - mostly grammar and English typo fixes and updates of documentation (This used to be commit cf240f14a53d95261c557a881cf67c7d3d316a57) --- docs/docbook/manpages/pdbedit.8.sgml | 45 +++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 21 deletions(-) (limited to 'docs/docbook/manpages/pdbedit.8.sgml') diff --git a/docs/docbook/manpages/pdbedit.8.sgml b/docs/docbook/manpages/pdbedit.8.sgml index 213275b7cc..45ccbaee64 100644 --- a/docs/docbook/manpages/pdbedit.8.sgml +++ b/docs/docbook/manpages/pdbedit.8.sgml @@ -41,11 +41,11 @@ Samba suite. The pdbedit program is used to manage the users accounts - stored in the sam database and can be run only by root. + stored in the sam database and can only be run by root. - The pdbedit tool use the passdb modular interface and is + 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 addedd + 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, @@ -58,7 +58,7 @@ -l - This option list all the user accounts + 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. @@ -75,8 +75,8 @@ -v - This option sets the verbose listing format. - It will make pdbedit list the users in the database printing + This option enables the verbose listing format. + It causes pdbedit to list the users in the database, printing out the account fields in a descriptive format. Example: pdbedit -l -v @@ -108,7 +108,7 @@ -w This option sets the "smbpasswd" listing format. - It will make pdbedit list the users in the database printing + It will make pdbedit list the users in the database, printing out the account fields in a format compatible with the smbpasswd file format. (see the smbpasswd(5) for details) @@ -124,8 +124,8 @@ -u username - This option specifies that the username to be - used for the operation requested (listing, adding, removing) + This option specifies the username to be + used for the operation requested (listing, adding, removing). It is required in add, remove and modify operations and optional in list operations. @@ -198,9 +198,9 @@ -a This option is used to add a user into the - database. This command need the user name be specified with - the -u switch. When adding a new user pdbedit will also - ask for the password to be used + database. This command needs a user name specified with + the -u switch. When adding a new user, pdbedit will also + ask for the password to be used. Example: pdbedit -a -u sorce new password: @@ -227,7 +227,7 @@ -x This option causes pdbedit to delete an account - from the database. It need the username be specified with the + from the database. It needs a username specified with the -u switch. Example: pdbedit -x -u bob @@ -237,22 +237,25 @@ -i passdb-backend - Use a different passdb backend to retrieve users than the one specified in smb.conf. Can be used to import data into your - local user database. + Use a different passdb backend to retrieve users + than the one specified in smb.conf. Can be used to import data into + your local user database. - This option will ease migration from one passdb backend to another. - + This option will ease migration from one passdb backend to + another. - Example: pdbedit -i smbpasswd:/etc/smbpasswd.old - + Example: pdbedit -i smbpasswd:/etc/smbpasswd.old + -e passdb-backend - Export all currently available users to the specified password database backend. + Exports all currently available users to the + specified password database backend. - This option will ease migration from one passdb backend to another and will ease backupping + This option will ease migration from one passdb backend to + another and will ease backing up. Example: pdbedit -e smbpasswd:/root/samba-users.backup -- cgit