Servers:HVILAB: Difference between revisions

From Research
Jump to navigation Jump to search
Jjaythomas (talk | contribs)
No edit summary
 
Jjaythomas (talk | contribs)
No edit summary
 
Line 16: Line 16:


chmod 750 jsama/
chmod 750 jsama/
usermod -a -G raidaccess jsama


vi /etc/samba/smb.conf
vi /etc/samba/smb.conf

Latest revision as of 17:33, 8 February 2008

ADD SAMABA USER: CHANGED DEFAULT DIRECTORY

useradd jsama

passwd jsama

vi /etc/passwd

jsama:x:1009:1009::/mnt/raid/jsama:/bin/bash

cd /mnt/raid

mkdir jsama

chown jsama jsama

chmod 750 jsama/

usermod -a -G raidaccess jsama

vi /etc/samba/smb.conf

valid users = jsama


vi /etc/samba/smbusers

jsama = jsama

smbpasswd -a jsama

/etc/init.d/samba stop

/etc/init.d/samba start