Basic Command Administrasi Server Samba


Setting samba agar automatic run pada saat server restart

#chkconfig smb on

#/etc/init.d/smb start | restart | stop

Chgrp:    Merubah kepemilikan Folder
Chgrp –R  nama-group-folder  nama folder
Chgrp –R Marketing MARKETING
Chmod:    Merubah hak akses suatu folder atau files
Chmod  -R 0770 MARKETING

Useradd:   Menanbah user di samba
Useradd  nama-user

Passwd:    Merubah password user
Passwd  nama-user

Smbpasswd:    Menambah password user samba
Smbpasswd –a nama-user

Usermod:    Menambah salah satu user di salah satu group folder
Usermod –G MARKETING  nama-user

Useradd -g:    Menambah userbaru sekalian memasukan di salah satu folder group
Useradd –G MARKETING nama-user

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s