LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to start samba service (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-start-samba-service-510308/)

boy_to_man 12-14-2006 02:29 AM

how to start samba service
 
hi
one more question in today
I have just install Samba 3.0.3 in fedora linux 6.0
But i dont know how to start it.
i do as this
" To change a users Samba password use the same command as above with out the -a option. Now you can start the Samba service.

# /etc/init.d/smb start

To have the Samba service start on boot, use the chkconfig tool:

# chkconfig �level 35 smb on "

and type
"service smb start "

but i dont exactly where i should type aboves command
please help me:study: :study: :study: :confused: :cry:

acid_kewpie 12-14-2006 02:36 AM

well there aren't many places you can type commands are there? in a console (Konsole, gnome-terminal, xterm, rxvt). as root (run "su -" to change to root from a normal user).

boy_to_man 12-14-2006 02:51 AM

yooooo
it not i meant .I meant was where i can type above command as in below
[root@user ~] or [root@user bin] or somewhere like that
another question, i am using fedora 6.0 but whenever i want use terminal i must follow this path application->accessories->terminal
have any suggest to i can create a shortcut on desktop or by keyboard

Thanks a lot

acid_kewpie 12-14-2006 02:53 AM

what directory? it doesn't matter. for quick access to a terminal under gnome 2.14, find it in the menu and right click, i think it's "attach to panel" or something.

boy_to_man 12-14-2006 03:00 AM

thanks for ur reply in quicky

But when i type above command in any where as i said ,i cant get success always is " command not found" i dont know why?
i find out in google but not easy to find out so i want ask to have a exactly answer.

any suggest is always welcome
Thanks

acid_kewpie 12-14-2006 03:03 AM

well the commands are sound, but they are admin commands. as such you need to have logged in as root *correctly* in order to ensure your path contains those commands. as above, it's "su -" from within a normal user console. alternatively, hit Ctrl+alt+f2 and log in directly as root there.

if you are still stuck, start again, open a new terminal and do what you're doing. then copy the *ENTIRE* contents of that terminal here for us to see.

kenji 12-14-2006 03:05 AM

try sudo or switching to root. hope this helps| £Ä3

$su -
password:
# /etc/init.d/smb start

or
# sudo /etc/init.d/smb start

boy_to_man 12-14-2006 03:26 AM

here is things i have try to do

[root@10 ~]# /etc/init.d/s
saslauthd single spamassassin syslog
sendmail smartd sshd
[root@10 ~]#
[root@10 ~]# cd /etc/init.d/smb start
bash: cd: /etc/init.d/smb: No such file or directory
[root@10 ~]# cd /etc/init.d/smb
bash: cd: /etc/init.d/smb: No such file or directory
[root@10 ~]#

i had logoff and logon to root account to type it but still....
any new suggest

acid_kewpie 12-14-2006 03:43 AM

where did "cd" come into it?? i don't see that in any instructions. at either rate there clearly is no "/etc/init.d/smb" is there?

boy_to_man 12-14-2006 04:07 AM

Quote:

Originally Posted by acid_kewpie
no "/etc/init.d/smb" is there?

I think here is my problem
, because when i follw guide to install Samba,after install they said that i must start samba service but i cant find where is smb was installed. so i cannot start it.
i type "cd" to sure that i can not find more in there.

Eventhough thanks for all ur help in this afternoon.
tommorow i will try to find out more about this.
Any suggest is warmly welcome.:D :D


All times are GMT -5. The time now is 09:50 AM.