[Wylug-help] smbclient/smbmount to WinXP admin$ and c$

Gary Stainburn gary.stainburn at ringways.co.uk
Mon Jun 13 12:19:10 BST 2005


On Friday 10 June 2005 8:12 pm, <jlyht at wylie.me.uk>(Alan J. Wylie) 
wrote:
> On Fri, 10 Jun 2005 14:23:48 +0100, Gary Stainburn 
<gary.stainburn at ringways.co.uk> said:
> > Hi folks I used to back up Win9x boxes to Linux by connecting to
> > each box using smbclient on \\boxname\admin$ and then smbmounting
> > \\boxname\c$ before then taring the relevent directories.
>
> Firstly - you're lucky that the "$" is at the end of the word - as a
> rule, anything on a shell command line with a $ in it needs quoting
> with ''.
>
> > I've tried a number of times to do the same with Win XP boxes, but
> > always get rejected - see below.  Anyone know how I can do this
> > these days?
> >
> > # smbclient -U administrator //larc9/ADMIN$ ******
>
> What's the ****** ? A password? Try
>
> smbclient '//larc9/ADMIN$' -U'administrator%******'

Hi Alan

I know about $. When I run it in my scripts, it's already a env 
variable. 

The ******** was the password, because I didn't want the real password 
to appear in the email.

The problem appears to be a WinXP issue in that C$ isn't really a share 
and therefore doesn't provide true access.  This also seems to be a 
problem for BackupPC user judging by their mailing list archive, as it 
uses a similar system.
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     




More information about the Wylug-help mailing list