Hello Community,
I am fairly new with Linux, Debian and Bubba.
How can I create Shares in my Root-dir ?
In the initial set-up I now only see Home
and a share Storage.
How to create additional shares on \\bubba\
any dummie discription is appreciated,
Thnx, Marc
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Howto - Create Shares on Bubba
-
- Posts: 5
- Joined: 21 Apr 2008, 13:24
I'm not 100% sure, but i think you should edit the file smb.conf.
Login via ssh and run su to get root access (password excito) then...
And add something like
then
to reload the changes
Login via ssh and run su to get root access (password excito) then...
Code: Select all
nano /etc/samba/smb.conf
Code: Select all
[foo]
comment = this is user foo's folder
writable = no
guest ok = no
public = no
path = /home/foo
Code: Select all
/etc/init.d/samba reload
First of all, you need to install some kind of terminal/ssh program; for windows you can use putty, which is completely free.
Once you have installed ie. putty, you need to run it and enter the IP address of your bubba. You will then be asked for your username and password; once you have filled these in, you are logged onto your bubba.
To login as the super-user, you type su, and then fill in excito as the password when prompted. From here on, you can follow Martin's instructions to create new shares on your bubba.
I am no linux expert, but I have been able to install hddtemp and bubbamon using instructions provided in this forum; once you get the hang of it, it's quite fun....
Once you have installed ie. putty, you need to run it and enter the IP address of your bubba. You will then be asked for your username and password; once you have filled these in, you are logged onto your bubba.
To login as the super-user, you type su, and then fill in excito as the password when prompted. From here on, you can follow Martin's instructions to create new shares on your bubba.
I am no linux expert, but I have been able to install hddtemp and bubbamon using instructions provided in this forum; once you get the hang of it, it's quite fun....
Thanks for the details here they helped me.
I use an iMac with my bubba server. I opened a Terminal window and on the command line I used:
ssh [IP address of my bubba server]
Got prompted for my bubba user password then I su'ed to root as you can see below.
================
Last login: Tue Dec 2 09:53:31 on console
MyMachine:~ jsilk$ ssh 192.168.6.4
Password:
Linux bubba 2.6.16.16 #1 Tue May 16 21:45:07 CEST 2006 armv4tl GNU/Linux
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Nov 12 11:38:37 2008 from 192.168.6.5
jsilk@bubba:~$ su
Password:
================
Then I changed directory to /etc/samba/
I made a copy of the smb.conf file using the cp command. then I edited the smb.conf file using the vi command. In the 'Share Definitions' section I added a share called 'general' and used Martin's basic code and added some to ensure that any file in general has got read, write and execute permissions for all as that suited my needs for this particular share.
#======== Share Definitions ==============
[home]
comment = Home Directories
path = /home
browseable = yes
writable = yes
create mask = 0764
directory mask = 0755
public = no
guest ok = no
hide dotfiles = yes
user = @users
[storage]
comment = Common Media storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode = 0777
force directory mode = 0777
path = /var/samba/public
[general]
comment = Common storage
writable = yes
guest ok = yes
public = yes
force create mode = 0777
force directory mode =0777
hide dotfiles = yes
path = /home/general
===========
Cheers
Johan[/img]
I use an iMac with my bubba server. I opened a Terminal window and on the command line I used:
ssh [IP address of my bubba server]
Got prompted for my bubba user password then I su'ed to root as you can see below.
================
Last login: Tue Dec 2 09:53:31 on console
MyMachine:~ jsilk$ ssh 192.168.6.4
Password:
Linux bubba 2.6.16.16 #1 Tue May 16 21:45:07 CEST 2006 armv4tl GNU/Linux
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Nov 12 11:38:37 2008 from 192.168.6.5
jsilk@bubba:~$ su
Password:
================
Then I changed directory to /etc/samba/
I made a copy of the smb.conf file using the cp command. then I edited the smb.conf file using the vi command. In the 'Share Definitions' section I added a share called 'general' and used Martin's basic code and added some to ensure that any file in general has got read, write and execute permissions for all as that suited my needs for this particular share.
#======== Share Definitions ==============
[home]
comment = Home Directories
path = /home
browseable = yes
writable = yes
create mask = 0764
directory mask = 0755
public = no
guest ok = no
hide dotfiles = yes
user = @users
[storage]
comment = Common Media storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode = 0777
force directory mode = 0777
path = /var/samba/public
[general]
comment = Common storage
writable = yes
guest ok = yes
public = yes
force create mode = 0777
force directory mode =0777
hide dotfiles = yes
path = /home/general
===========
Cheers
Johan[/img]