> hi all
> im completely new to Linux (about 5 days). i have a question about
> sharing and user permissions.
> 1: i want to share a folder that can be use (read & write) in windows
- Use YaST to configure the share:
YaST > Network Services > Samba Server
If it’s not there you need to install ‘yast2-samba-server’ and restart YaST.
When the share(s) is fine
- create samba user(s). A samba user can (but does not have to) the
same as your normal user(s), but they need to exist.
You create one by typing in konsole as root:smbpasswd -a username
You will be prompted for a password for the user (twice) type the
password and hit enter (twice)
The usernames and passwords can be same as real system users, but you
can also have samba users who are not system users, only samba users.
Next these samba users must connect to the shares by using their
usernames and passwords. In windows this is not always the case, people
often don’t use passwords. This is a big no-no but that’s another story.
When connecting to a samba share on a Linux server they just have to use
username and password.
> 2:i want to have some users to just can access their specific folders
> via sharing, and cant use vnc or console to connect to Linux, how can i
> do that? how can i assign permissions to users?
When a user is a samba user with username and password he can connect to
the shares. If he is not a system user he can not do anything else.
So you make system users who can do stuff and samba users who can not.
> and is it possible to do that things in GUI mode(kde or gnome)?
Everything else above goes via YaST > Samba server
but the usernames and passwords you create in commandline.
“Sunrise 8:24am (EET), sunset 3:44pm (EET) at Espoo, Finland (7:20 hours
Linux 18.104.22.168-0.5-default #1 SMP 2009-08-14 01:48:11 +0200 x86_64
6:21pm up 16 days 23:22, 10 users, load average: 0.08, 0.13, 0.09