- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password on CIFS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 07:21 AM
тАО03-17-2009 07:21 AM
Is there any way to configure username and password in cifs client, to avoid setting the user and password in the mount command ?
TIA, regards
Jose
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 07:46 AM
тАО03-17-2009 07:46 AM
Re: Password on CIFS
In /etc/fstab, I added the entry:
arcserver:/bancosqa /u03/applqa/files cifs username=applqa,password=applqa 0 0
then
# mount -aF cifs
and it worked fine.
Thanks, regards
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 07:46 AM
тАО03-17-2009 07:46 AM
Re: Password on CIFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 12:58 AM
тАО03-19-2009 12:58 AM
SolutionThis method is not secure. Placing a plaintext password in a universally-readable file is not considered good practice.
The better method of accomplishing your goal would be to use the CIFS Client user database, which will store your password encrypted. See the cifsdb manpage and/or the CIFS Client Administrator's Guide (at docs.hp.com) for details.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 07:37 AM
тАО03-19-2009 07:37 AM
Re: Password on CIFS
I did not know about cifsdb. You are right, it is not safe. But this box has only 1 local user, the sysadmin. All the others are Oracle clients.
I am going to take a look at cifsdb to change the approach.
Sorry i can not assign points for you.
Regards
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:50 PM
тАО03-19-2009 06:50 PM
Re: Password on CIFS
You can reopen threads with:
http://forums.itrc.hp.com/service/forums/helptips.do?#41
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 05:31 AM
тАО03-20-2009 05:31 AM