Servers:HVILAB

From Research
Revision as of 19:12, 25 September 2007 by Jjaythomas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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/

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