LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount directory without password (https://www.linuxquestions.org/questions/linux-newbie-8/mount-directory-without-password-4175424941/)

ust 08-31-2012 05:47 AM

mount directory without password
 
I use the below command can mount remote path in my Redhat server , but it pop to input the password , can advise if I want to use a specify user ID to mount rather than use root user , what can I do ? thx


# mount -t cifs //192.168.0.1/ora_tmp /tmp/ora_tmp

pan64 08-31-2012 05:51 AM

mount has a lot of options:
http://www.samba.org/samba/docs/man/...nt.cifs.8.html
http://www.manpagez.com/man/8/mount.cifs/
otherwise you can also configure automounter

TB0ne 08-31-2012 11:31 AM

Quote:

Originally Posted by ust (Post 4769028)
I use the below command can mount remote path in my Redhat server , but it pop to input the password , can advise if I want to use a specify user ID to mount rather than use root user , what can I do ? thx

# mount -t cifs //192.168.0.1/ora_tmp /tmp/ora_tmp

You rarely post follow-ups to your questions, or even acknowledge you've received help...after 9 years, I'd also think that you would know to check Google first, or search this very site. First three hits in Google:

https://lists.samba.org/archive/linu...ay/001305.html
https://www.linuxquestions.org/quest...ssword-785474/
http://www.thinkplexx.com/learn/howt...thout-password

And did you bother to read the man pages on mount first???


All times are GMT -5. The time now is 05:04 PM.