Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having a problem that I've googled to death and can't find a way around it. Here is the situation.
I've a redhat server and a windows 2003 server. The windows box has a shared directory on it that I want to mount on the linux box. This I can do no problem using the following command:
mount -t cifs -o username=windowsuid,password=mypass //winservername/directory /mnt/directory
This all works perfectly however I need to mount this as a non root user. This is where I'm having difficult. I constantly run into "only root can do that".
I've edited the fstab and added the entry in there for the mount with the flag user or users and neither makes a difference. I've also tried editing the sudoers file and still the same.
Any ideas? I can add the user in question into pretty much every group however that essentially makes him a root user which is not what I want to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.