Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-29-2005, 06:47 PM   #1 (permalink)
straightv6's Avatar
 
Not A Super Techie

Join Date: Dec 2003

Posts: 495

straightv6 is on a distinguished road

Default smbpasswd help

i'm trying to setup a user in samba but can't get this to run

root@AlphaSlack:/usr/local/samba/bin# ls
findsmb* pdbedit* smbclient* smbspool* tdbbackup* testprns*
net* profiles* smbcontrol* smbstatus* tdbdump* wbinfo*
nmblookup* rpcclient* smbcquotas* smbtar* tdbtool*
ntlm_auth* smbcacls* smbpasswd* smbtree* testparm*
root@AlphaSlack:/usr/local/samba/bin# smbpasswd -a stream
-bash: smbpasswd: command not found
straightv6 is offline  
Old 05-29-2005, 07:06 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

samba daemon has to be running first I believe
horndude is offline  
Old 05-29-2005, 08:43 PM   #3 (permalink)
 
Junior Techie

Join Date: Jan 2005

Posts: 94

charles@pcfix

Default

try this
root@AlphaSlack:/usr/local/samba/bin#./smbpasswd -a stream
__________________
Charles

Visit my Site
http://www.pc-fix.info
charles@pcfix is offline  
Old 05-29-2005, 10:39 PM   #4 (permalink)
straightv6's Avatar
 
Not A Super Techie

Join Date: Dec 2003

Posts: 495

straightv6 is on a distinguished road

Default

Quote:
Originally posted by charles@pcfix
try this
root@AlphaSlack:/usr/local/samba/bin#./smbpasswd -a stream
that worked, thanks a lot

what is the reason for the ./
straightv6 is offline  
Old 05-29-2005, 11:06 PM   #5 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

./ is part of the BASH shell commands that tells it to run the program from the directory your in
horndude is offline  
Old 05-30-2005, 01:28 AM   #6 (permalink)
 
Junior Techie

Join Date: Jan 2005

Posts: 94

charles@pcfix

Default

The dot indicates the current directory and the slash is a separator between the directory name and filename. It is a security feature not to put your current directory on the PATH.

You should be able to run the cmd outside of the directory and not have to us the dot slash. Depending on if the directory that the file resides in is on your PATH.
__________________
Charles

Visit my Site
http://www.pc-fix.info
charles@pcfix is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On