Re: Fedora5 samba
- From: ishi@xxxxxxxxxxxx
- Date: Fri, 27 Oct 2006 10:30:01 +0900
Hi
Yes, I already created a user "test" by "smbpasswd -a admin" command.
# cat /etc/samba/smbpasswd
admin:501:155EE......:[U ]:LCT-45415D06:
# grep admin /etc/passwd
admin:x:501:501::/home/admin:/bin/bash
# grep admin /etc/shadow
admin:$1$8f0OkjL......:13448:0:99999:7:::
# ls -ld /home/admin
drwxrwxrwx 2 admin admin 4096 Oct 27 10:12 /home/admin
Although, it is impossible to login as user "admin" to samba in [case
2].
And I already disabled iptables to ignore packet filtering problems.
Of course, I could login to samba server by using "ssh".
# ssh -l admin samba01
# admin@samba01's password:
# Last login: .....
samba01 $
And I could not understand why I could login to samba in [case 1]!
Thank you!
Alex wrote:
Did you create any samba user accounts? Use the command:.
smbpasswd -a username
then you will be prompted to choose a password. If you choose a
username & password that matches one of your non-root linux accounts,
you should have access to that user's home directory via Samba. If you
want access to other directories, you will need to create Samba shares (
see the smb.conf man pages). You can also use Fedora's Samba GUI to
create the shares and users, but you'll be better off in the long run if
you familiarize yourself with the smb.conf file.
- Follow-Ups:
- Re: Fedora5 samba
- From: ishi
- Re: Fedora5 samba
- References:
- Fedora5 samba
- From: ishi
- Re: Fedora5 samba
- From: Alex
- Fedora5 samba
- Prev by Date: Re: network anomaly
- Next by Date: What is LDAP and is it useful on home network FC5?
- Previous by thread: Re: Fedora5 samba
- Next by thread: Re: Fedora5 samba
- Index(es):
Relevant Pages
|