Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mounting ntfs through network??? Post 21046 by auswipe on Thursday 9th of May 2002 11:08:05 AM
Old 05-09-2002
You just need to set the Windows share at the root dir of the partition in question. Under NT/2000 there is an administrative share such as c$, d$, etc.

At the house, I setup the Win98 machines with shares at the root level with names like "c_drive". You can then mount the share with samba and have full access to the drive.

Here is a sample of mounting another machine in the house with samba for full drive access:

Code:
FreeBSD:joeuser:/home/joeuser $ su
Password:
FreeBSD:root:/home/joeuser $ mount -t smbfs //targetmachine/c_drive /targetmachine/
Password:
FreeBSD:root:/home/joeuser $ cd /targetmachine/
FreeBSD:root:/targetmachine $ ls -al
total 6023
drwxr-xr-x   1 root  wheel    16384 Dec 31  1969 .
drwxr-xr-x  23 root  wheel      512 Apr 24 09:15 ..
-rwxr-xr-x   1 root  wheel       24 Sep  1  2001 AUTOEXEC.001
-rwxr-xr-x   1 root  wheel       72 Nov 12 18:11 AUTOEXEC.BAT
drwxr-xr-x   1 root  wheel    16384 Sep  1  2001 BC5
drwxr-xr-x   1 root  wheel    16384 Dec 21 14:01 BDE
drwxr-xr-x   1 root  wheel    16384 Sep  1  2001 BDE32
-rwxr-xr-x   1 root  wheel    56288 Nov 11 16:34 BOOTLOG.PRV
-rwxr-xr-x   1 root  wheel    57847 Nov 11 17:54 BOOTLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 Banshee
drwxr-xr-x   1 root  wheel    16384 Apr  4 21:13 CDNOW
drwxr-xr-x   1 root  wheel    16384 Oct 31  2001 CHEESE
-rwxr-xr-x   1 root  wheel    93890 Apr 23  1999 COMMAND.COM
-rwxr-xr-x   1 root  wheel        0 Feb  5  2001 CONFIG.SYS
-rwxr-xr-x   1 root  wheel    68748 Jan  1  1997 DETLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 EPSON
drwxr-xr-x   1 root  wheel    16384 Feb 19  2001 FOX
-rwxr-xr-x   1 root  wheel     1012 Jan  1  1997 FRUNLOG.TXT
-rwxr-xr-x   1 root  wheel   222390 Apr 23  1999 IO.SYS
drwxr-xr-x   1 root  wheel    16384 Jan  1 20:11 Images
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 Internet
drwxr-xr-x   1 root  wheel    16384 Nov 12 18:11 KPCMS
-rwxr-xr-x   1 root  wheel  1047960 Nov 11 17:53 LANCopyFile.txt
-rwxr-xr-x   1 root  wheel      118 Nov 11 18:08 LANTest.Log
-rwxr-xr-x   1 root  wheel    24576 Nov 11 19:41 LANTest.exe
drwxr-xr-x   1 root  wheel    16384 Nov 11 14:21 Lantest
-rwxr-xr-x   1 root  wheel       22 Dec 31  1996 MSDOS.---
-rwxr-xr-x   1 root  wheel     1676 Jan  1  1997 MSDOS.SYS
drwxr-xr-x   1 root  wheel    16384 Dec 21 12:59 Music Videos
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 My Documents
drwxr-xr-x   1 root  wheel    16384 Feb 19  2001 My Music
-rwxr-xr-x   1 root  wheel     9014 Feb  5  2001 NETLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Dec 31  1996 Program Files
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 RECYCLED
FreeBSD:root:/targetmachine $ cd /
FreeBSD:root:/ $ umount /targetmachine/
FreeBSD:root:/ $ cd targetmachine/
FreeBSD:root:/targetmachine $ ls -al
total 4
drwxr-xr-x   2 root  wheel  512 Apr 24 09:14 .
drwxr-xr-x  23 root  wheel  512 Apr 24 09:15 ..
FreeBSD:root:/targetmachine $

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting across network

Ok I have 3 unix boxes all running Solaris 7 , 2 of them have storeedge a1000s on them. I want a nfsmount from the third system to both the a1000s accross the network. can this be done and if so how. i want to remote mount these so i can transwer data faster and easyer for backups. (3 Replies)
Discussion started by: Thump
3 Replies

2. UNIX for Dummies Questions & Answers

Mounting a Windows Network Drive on Solaris 10

Hi, I have a Solaris 10 OS. I would like to map a network drive to a Windows machine. I have typed the following command #mount 192.1.1.1:/content_dir /windows 192.1.1.1 - ip address of my windows box content_dir - directory that I have shared out to others users on my windows box... (3 Replies)
Discussion started by: annointed3
3 Replies

3. Red Hat

Mounting NTFS filesystem

I'm currently running dual boot Linux & Windows. Linux is Fedora core 3. I've downloaded and installed the rmp that was needed so that I could mount a NTFS filesystem. But when I go to mount the filesystem I'm still getting error's stating it does not support the NTFS filesystem. Also the... (9 Replies)
Discussion started by: woofie
9 Replies

4. BSD

Mounting ext3 & NTFS on PC-BSD!!

I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS. Can anyone please help me out here. What are the changes required to be done in fstab?? Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies

5. OS X (Apple)

Mounting USB NTFS External Disk R/W on OSX

Does anyone know an easy way to mount an NTFS (NT File System) external backup drive R/W on OSX? I use one backup drive for both my XP and OSX files via a USB interface. On XP it mounts R/W. On OSX it mounts Read Only :-( I'm growing weary of using flash drives and burning CDs to... (4 Replies)
Discussion started by: Neo
4 Replies

6. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

7. Red Hat

mounting ntfs volume in RHEL5

Need a little help here. I am having trouble mounting an NTFS volume in RHEL5, here are the commands. root # mount -t ntfs-3g /dev/sda1 /media/my-volume FATAL: Module fuse not found. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root root # modprobe fuse FATAL: Module fuse... (5 Replies)
Discussion started by: etcpasswd
5 Replies

8. Emergency UNIX and Linux Support

Problem mounting NTFS file System in REDHAT Enterprise 5

When I am trying to mount my windows partitions in REDHAT Enterprise Linux 5 using these command mount -t ntfs-3g /dev/sda1 /mnt/ntfs I have encountered with the problem mentioned below FATAL: Module fuse not found. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root I have... (3 Replies)
Discussion started by: dearanik
3 Replies

9. Red Hat

Mounting NTFS Drive through JBOD

Very green to the world of Linux/Unix computing, as I have recently been tasked with getting out internal network set up for incoming data sets we are receiving. Unfortunately our system is Linux/Unix mainly, and the drives that are coming in are SATA NTFS formatted. I'm wondering if there... (0 Replies)
Discussion started by: cbrowne20
0 Replies
PAM_WHEEL(8)							 Linux-PAM Manual						      PAM_WHEEL(8)

NAME
pam_wheel - Only permit root access to members of group wheel SYNOPSIS
pam_wheel.so [debug] [deny] [group=name] [root_only] [trust] [use_uid] DESCRIPTION
The pam_wheel PAM module is used to enforce the so-called wheel group. By default it permits root access to the system if the applicant user is a member of the wheel group. If no group with this name exist, the module is using the group with the group-ID 0. OPTIONS
debug Print debug information. deny Reverse the sense of the auth operation: if the user is trying to get UID 0 access and is a member of the wheel group (or the group of the group option), deny access. Conversely, if the user is not in the group, return PAM_IGNORE (unless trust was also specified, in which case we return PAM_SUCCESS). group=name Instead of checking the wheel or GID 0 groups, use the name group to perform the authentication. root_only The check for wheel membership is done only. trust The pam_wheel module will return PAM_SUCCESS instead of PAM_IGNORE if the user is a member of the wheel group (thus with a little play stacking the modules the wheel members may be able to su to root without being prompted for a passwd). use_uid The check for wheel membership will be done against the current uid instead of the original one (useful when jumping with su from one account to another for example). MODULE TYPES PROVIDED
The auth and account module types are provided. RETURN VALUES
PAM_AUTH_ERR Authentication failure. PAM_BUF_ERR Memory buffer error. PAM_IGNORE The return value should be ignored by PAM dispatch. PAM_PERM_DENY Permission denied. PAM_SERVICE_ERR Cannot determine the user name. PAM_SUCCESS Success. PAM_USER_UNKNOWN User not known. EXAMPLES
The root account gains access by default (rootok), only wheel members can become root (wheel) but Unix authenticate non-root applicants. su auth sufficient pam_rootok.so su auth required pam_wheel.so su auth required pam_unix.so SEE ALSO
pam.conf(5), pam.d(5), pam(8) AUTHOR
pam_wheel was written by Cristian Gafton <gafton@redhat.com>. Linux-PAM Manual 04/01/2010 PAM_WHEEL(8)
All times are GMT -4. The time now is 10:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy