S
S
sflyer2018-05-07 07:27:57
bash
sflyer, 2018-05-07 07:27:57

Ubuntu cifs - how to mount the ball under the user?

I would like to do it in such a way as to automatically mount the balls under the user (since writing user\password of a domain account is not kosher for me).
I am authorized under a domain account, I calmly go to the ball, I write like this:
mount -t cifs /server/data ~/shares/
I get:

mount: использовать опцию "--types" может только root

without the -t option, the same result is not very good.
mount: только root может делать это
Current permissions:
-rwsr-sr-x 1 root root 35600 мар  6  2017 /sbin/mount.cifs*
-rwsr-xr-x 1 root root 40152 дек  1 01:04 /bin/mount*

Question: what needs to be done so that users without admin rights have rights to mount?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-05-07
@sflyer

Question: what needs to be done so that users without admin rights have rights to mount?

Set the mount point to /etc/fstab with the user or users option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question