Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Closed Thread
  Search this Thread
Old 03-06-2012, 03:06 PM   #1
Registered: Jun 2007
Posts: 39

Rep: Reputation: 0
Mounting Windows share w/o password

Hi ,

I found weird mount.cifs behavior .

Having RHEL 5.6 . One Linix user successfully mount his Windows host share locally with the following command :

#sudo /bin/mount -t cifs //windows-host-name/share-name mount_point -o username=domain-name/user1

Since in our LAN Windows hostname reminds Windows account ( 8 characters) another user – say user2 after listing existing mounts may easily guess Windows account and as a result successfully mount user1’s Windows share without password !

As user2 :
##sudo /bin/mount -t cifs //windows-host-name/share-name mount_point -o username=domain-name/user1

In both commands windows-host-name and share-name are the same

Any ideas ?
Old 03-06-2012, 05:55 PM   #2
Registered: Dec 2004
Posts: 83

Rep: Reputation: 8
Look at the shares on the Windows side, are they the same? As in do they have the same share level permissions, file permissions. It could be that on one machine it's an open share and everyone is allowed to write to it but on the other the everyone built in group hasn't been added.
Old 03-07-2012, 02:10 AM   #3
Registered: Jun 2007
Posts: 39

Original Poster
Rep: Reputation: 0
From Windows side everything looks fine .
Mount w/o password is possible ONLY if user1 already has mount point done .The same Windows hare is being used .
Old 03-07-2012, 10:05 PM   #4
Registered: Dec 2004
Posts: 83

Rep: Reputation: 8
You shouldn't re-post the same thread in another forum just because you haven't recieved a response.

I don't quite understand your last post, can you elaborate some more?
Old 03-08-2012, 05:01 PM   #5
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,753
Blog Entries: 37

Rep: Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931Reputation: 2931
Moderator response

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of Mounting to Windows share with domain user w/o password !?

Closed Thread

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Samba share results in network timeout at password prompt (Slackware 12.2) sysfce2 Linux - Newbie 1 10-25-2009 05:43 AM
Mounting Windows share with a space in the share name Suncoast Linux - Networking 1 06-19-2009 10:15 AM
Mounting Windows share leupi Linux - Server 10 04-12-2008 08:36 AM
Mounting a Windows Share in Samba alkos333 Slackware 2 12-26-2007 07:33 AM
mounting a windows network share? graystarr Linux - Networking 2 11-09-2002 05:57 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:23 AM.

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