Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-19-2013, 06:43 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Devilzc0de › Devilzc0de Internasional Room › Networking (Int.)
remote windows partition (windows share) under Linux

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
remote windows partition (windows share) under Linux
07-07-2011, 04:25 AM
Post: #1
eidelweiss Away
Devilzc0der
*****
DC Security Grup
Posts: 1,551
Joined: Mar 2010
Reputation: 69
remote windows partition (windows share) under Linux
All files accessible in a Linux (and UNIX) system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file system found on some device to the big file tree.

Use the mount command to mount remote windows partition or windows share under Linux as follows:

Procedure to mount remote windows partition (NAS share)

1) Make sure you have following information:
=> Windows username and password to access share name
=> Sharename (such as //server/share) or IP address
=> root level access on your Linux system

2) Login to Linux as a root user (or use su command)

3) Create the required mount point:

Code:
[randy@server ~]# mkdir -p /mnt/ntserver

4) Use the mount command as follows:

Code:
[randy@server ~]# mount -t cifs //ntserver/download -o username=admins,password=MyPassword /mnt/ntserver

Use following command if you are using Old version such as RHEL <=4 or Debian <= 3:

Code:
# mount -t smbfs -o username=yourusername,password=Yourpasswd //ntserver/download /mnt/ntserver

5) Access Your Windows 2003/2000/NT share using cd and ls command:

Code:
[randy@server ~]# cd /mnt/ntserver; ls -l

Note:
-t smbfs : File system type to be mount (outdated, use cifs)
-t cifs : File system type to be mount
-o : are options passed to mount command, in this example I had passed two options. First argument is password (vivek) and second argument is password to connect remote windows box
//ntserver/download : Your Windows 2000/NT share name
/mnt/ntserver Linux mount point (to access share after mounting)

Enjoy !!!
Visit this user's website Find all posts by this user
Quote this message in a reply
02-29-2012, 01:55 PM
Post: #2
jackerp Offline
./Devilz Advisor
Posts: 576
Joined: Jan 2011
Reputation: 41
RE: remote windows partition (windows share) under Linux
Waaahh...
waahh...
Gak ngerti Nhie Gw bahsa...... ngakak
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-19-2013, 06:43 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE