Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Samba HowTo Guide
Prev Home Next

Adding User Accounts

The syntax for adding a user account via the net (according to the man page) is shown here:

net [<method>] user ADD <name> [-c container] [-F user flags] \
    [misc. options] [targets]

The user account password may be set using this syntax:

net rpc password <username> [<password>] -Uadmin_username%admin_pass

The following demonstrates the addition of an account to the server FRODO:

root#  net rpc user add jacko -S FRODO -Uroot%not24get
Added user jacko

The account password can be set with the following methods (all show the same operation):

root#  net rpc password jacko f4sth0rse -S FRODO -Uroot%not24get
root#  net rpc user password jacko f4sth0rse \
    -S FRODO -Uroot%not24get

Samba HowTo Guide
Prev Home Next

  Published under the terms fo the GNU General Public License Design by Interspire