Command Syntax: Difference between revisions
Jump to navigation
Jump to search
Jjaythomas (talk | contribs) |
Jjaythomas (talk | contribs) |
||
Line 14: | Line 14: | ||
ls -la | ls -la | ||
+++ | |||
cd linux/ | cd linux/ | ||
Line 26: | Line 26: | ||
vi /boot/grub/grub.conf | vi /boot/grub/grub.conf | ||
===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 |
Revision as of 17:34, 8 February 2008
Command Syntax
GENTOO_KERNEL
cd /usr/src/
ls -la
cp linux/.config linux-2.6.20-hard-r2/
rm linux
ln -s linux-2.6.20-hard-r2/ linux
ls -la +++ cd linux/
make oldconfig
genkernel --menuconfig all
Load the config.bak (type .bak)
ls -la /boot/
vi /boot/grub/grub.conf
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