Posts Tagged share guest account
Enabling Guest share in Samba (Windows accessible)
One of the easiest way to do so is by changing ‘security=user’ to ‘security=share’ in global configurations of Samba in /etc/samba/smb.conf. But this raises security concern in case if many shares could have restricted access. Samba maps Windows ‘guest’ account to Linux’s ‘nobody’ account so this is how I enabled it.
Added nobody’s account but seemed it was already there!
[root@ToughGuy ~]# useradd -s /sbin/nologin nobody useradd: user nobody exists [root@ToughGuy ~]# grep nobody /etc/passwd nobody:*:99:99:Nobody:/:/sbin/nologin nfsnobody:!!:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
Assured that sweet Windows’ “guests” have access to my share
[root@ToughGuy ~]# chown -R root:nobody /Raid/ [root@ToughGuy ~]# chmod -R 775 /Raid/
Mapped guest user to login without a need of having a password prompt in smb.conf’s global settings!
[root@ToughGuy ~]# grep 'map to guest' /etc/samba/smb.conf map to guest = Bad Password
Btw, here’s my share:
[root@ToughGuy ~]# grep -A 5 Raid /etc/samba/smb.conf path=/Raid browseable=yes writeable=yes guest ok=yes public=yes
Restarted the service and look

enable public access samba, samba security, share guest account
Categories
Topics
adding host asci art in linux auto backup on xen cats zia intl airport CentOS hplip drivers with scanner support check and repair raid consistancy convert text into ascii art tool dhaka easiest way to create selfsigned certificates enable public access samba Error 0x800706d5 exim address rewriting figlet fixing hplip dependency errors headers_rewrite heartbeat high availability HP LaserJet M1120 HP LaserJet M1120 Red Hat increase raid resync install hplip on CentOS 5 ipvsadm and ldirectord on centos5 latest hplip 3.9 on CentOS 5.5 ldirector alternative linux_logo live rsync stats mdmonitor measure total progress of rsync nanny network load balancing NLB nlbmgr wizard overall rsync progress photoblog piranha tutorial pulse raid1 xen raid tips and tricks red red hat Redundant xenserver replace root sender address samba security set raid email alerts share guest account



Recent Comments