[K12OSN] Run script from any directory

David Trask dtrask at vcs.u52.k12.me.us
Mon Feb 28 18:32:03 UTC 2005


"Support list for opensource software in schools." <k12osn at redhat.com> on
Monday, February 28, 2005 at 12:53 PM +0000 wrote:
>Very basic linux script question
>
>I am trying to install smbldap
>
>When I try to run ldap-useradd -m username 
>I get command not found message.
>
>It only works when I change to the directory where these scripts live and
>type   #./ldap-useradd -m username
>
>How can I change it so I can run it from any directory?

Are you using the smbldap-installer script?  If not, you should....makes
life a LOT easier.   Get it and the how-to here....
http://web.vcs.u52.k12.me.us/linux/smbldap

David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask at vcs.u52.k12.me.us
(207)923-3100




More information about the K12OSN mailing list