PDA

View Full Version : SAMBA config



maciek
02-11-2010, 04:00 PM
I moved whole content of /etc subdir to memory stick plugged in to rear USB slot. Than I added new plugin (named ETC) to /var/bin:

CODE:

/var/bin # ls
ETC Keditor XcamClient cardclient.conf
ExSIM Mcas XcamConfigure sfam.ttf
Kain2r Mclient autorun.sh
/var/bin # cat ETC
killall vsftpd
killall smbd
killall nmbd
mount --bind /STORAGE/USB2 /etc
/bin/cat /dev/null > /var/log.nmbd
/bin/cat /dev/null > /var/log.smbd
/usr/sbin/vsftpd /etc/vsftpd.conf&
/usr/sbin/smbd -D -s /etc/samba/smb.conf
/usr/sbin/nmbd -D -s /etc/samba/smb.conf
rm -f /STORAGE/USB2/core.*

So I can now edit SAMBA config files freely. It was impossible later because whole root filesystem (including /etc subdir) is mounted as read-only.
Than I try to mount via SAMBA /STORAGE/HDD as virtual disc to my PC. And it was impossible because setuid root is not supported by ICECRYPT linux. Any idea how to resolve that problem?