LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-31-2012, 05:47 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
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
 
Old 08-31-2012, 05:51 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,221

Rep: Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698Reputation: 2698
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
 
Old 08-31-2012, 11:31 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,811

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by ust View Post
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???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the password of Directory Manager in Redhat Directory Services sudarshan.bisht Linux - Server 2 11-19-2013 04:33 AM
A gawk program to mount all ISO images in a directory under a specified mount-point PTrenholme Programming 11 11-18-2010 06:29 PM
Cannot mount unencrypted directory to encrypted home directory with fstab? Daravon Ubuntu 35 09-14-2010 03:50 AM
Username & Password Sync Fedora Directory and Microsoft Active Directory karnac01 Fedora 4 07-19-2010 12:51 AM
How to mount a Windows shared directory and have mount point be owned by nonroot user Arodef Linux - Software 3 09-14-2009 12:23 AM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration