<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
	<id>https://www.vanderschaft.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Samba%3A_add_users</id>
	<title>Samba: add users - Bewerkingsoverzicht</title>
	<link rel="self" type="application/atom+xml" href="https://www.vanderschaft.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Samba%3A_add_users"/>
	<link rel="alternate" type="text/html" href="https://www.vanderschaft.net/mediawiki/index.php?title=Samba:_add_users&amp;action=history"/>
	<updated>2026-09-12T04:20:47Z</updated>
	<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://www.vanderschaft.net/mediawiki/index.php?title=Samba:_add_users&amp;diff=53&amp;oldid=prev</id>
		<title>Dschaft: Nieuwe pagina aangemaakt met &#039;Step # 1: Add a user joe to UNIX/Linux system  adduser command adds user to the system according to command line options and configuration information in /etc/adduser.conf. They are friendlier front ends to the low level tools like useradd.  Type any one of the following command:   # useradd joe  # passwd joe  OR   adduser joe  Step # 2: Add a user to samba  Now user joe has account on Linux/UNIX box. Use smbpasswd command to specifies that the username follow…&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.vanderschaft.net/mediawiki/index.php?title=Samba:_add_users&amp;diff=53&amp;oldid=prev"/>
		<updated>2026-06-22T17:52:59Z</updated>

		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;Step # 1: Add a user joe to UNIX/Linux system  adduser command adds user to the system according to command line options and configuration information in /etc/adduser.conf. They are friendlier front ends to the low level tools like useradd.  Type any one of the following command:   # useradd joe  # passwd joe  OR   adduser joe  Step # 2: Add a user to samba  Now user joe has account on Linux/UNIX box. Use smbpasswd command to specifies that the username follow…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Step # 1: Add a user joe to UNIX/Linux system&lt;br /&gt;
&lt;br /&gt;
adduser command adds user to the system according to command line options and configuration information in /etc/adduser.conf. They are friendlier front ends to the low level tools like useradd.&lt;br /&gt;
&lt;br /&gt;
Type any one of the following command:&lt;br /&gt;
&lt;br /&gt;
 # useradd joe&lt;br /&gt;
 # passwd joe&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
 adduser joe&lt;br /&gt;
&lt;br /&gt;
Step # 2: Add a user to samba&lt;br /&gt;
&lt;br /&gt;
Now user joe has account on Linux/UNIX box. Use smbpasswd command to specifies that the username following should be added to the local smbpasswd file:&lt;br /&gt;
&lt;br /&gt;
 # smbpasswd -a joe&lt;br /&gt;
&lt;br /&gt;
Step # 3: Add a user to a Samba share&lt;br /&gt;
&lt;br /&gt;
By default user gets access to /home/joe from windows system. Let us say you &lt;br /&gt;
want to give joe access to /data/accounts (make sure directory /data/accounts exists) directory. Open /etc/samba/smb.conf file and add/modify share called [accounts]:&lt;br /&gt;
&lt;br /&gt;
 [accounts]&lt;br /&gt;
 comment = Accounts data directory&lt;br /&gt;
 path = /data/accounts&lt;br /&gt;
 valid users = vivek raj joe&lt;br /&gt;
 public = no&lt;br /&gt;
 writable = yes&lt;br /&gt;
&lt;br /&gt;
Save the file.&lt;br /&gt;
Step #4: Restart the samba&lt;br /&gt;
&lt;br /&gt;
 # service smb restart&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
 # /etc/init.d/smb reload&lt;/div&gt;</summary>
		<author><name>Dschaft</name></author>
	</entry>
</feed>