Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Ok, maybe I'm not so new, but it seems like there should be a really simple way to accomplish what I'm after. Before you start typing a quick answer, do NOT tell me to use the mount command to mount the samba share, that's only available if you're root and the /mnt directory is writable, and I'd rather not go there if there's a easier way to do this. I also don't have access to the Windows server machine, except to copy files to/from the shared directory.
So I can do this:
net rpc share -S <windowsserver> -U<myuser>
from my linux box and I can see the directory I want to copy the files from.
My question is, how do I actually copy the files? I've tried the migrate and add command options, but I can't get them to actually do anything and I never see the files on my local linux machine. I've also tried smbclient, and can list the same directories with
smbclient -L <windowsserver> -U<user>
but it doesn't want to go into an interactive mode, and when I try to use -c mget, I can't seem to get the syntax right because it keeps telling me "Not enough '\' characters in service". This seems like it should be so easy, but I'm just not getting it to work and I can't find any examples where the user isn't the system admin with root and admin authority on both the Linux and Windows box.
At first, you can mount to any directory, you are not limited to the /mnt directory.
But what I am more interested in, why can't you just elevate your rights to root to use mount? May it be that this is not your machine?