On 09/05/06, clayne wrote:
Don't try to get shares working like that through sshd. You'll be missing hair
afterwards.
Sure. And running sshd as a privileged user is just wicked. If we
follow the reasoning to the end: sshd is run under a XYZ windows
account, that has a private share //foo/bar, c
Don't try to get shares working like that through sshd. You'll be missing hair
afterwards.
Specify the share as a mount point with mount.
And then add your .bashrc:
if ! ls /mount_point/. 2>&1 >/dev/null; then
/c/WINDOWS/system32/net USE /USER:username '\\share' password
fi
Yep, about as
so I guess this is really about shares...
It's not really about shares, it's more about the user sshd runs
under, and which happens to be sent to the share auth system.
Lloeki
I guess I should mention that the network uses Microsoft Network
Authetication (whatever that might be...)
Hmm. Facts:
1. you're using shares
2. through authentication
3. share access works through local, doesn't via ssh server
I highly suspect Igor's right. Double-read his answer. With care.
rsonalise
their cygwin experience.
These will never be overwritten.
/usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied
/usr/bin/install: accessing `//filesrv/chj//.bash_profile': Permission denied
/usr/bin/install: accessing `//filersrv/chj//.inputrc': Permi
ly logged in to this server!!!
> > Could not chdir to home directory //filesrv/chj: Permission denied
> > mkdir: `//filesrv/chj': Permission denied
> > Copying skeleton files.
> > These files are for the user to personalise
> > their cygwin experience.
> >
>
e.
These will never be overwritten.
/usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied
/usr/bin/install: accessing `//filesrv/chj//.bash_profile': Permission
denied
/usr/bin/install: accessing `//filersrv/chj//.inputrc': Permission denied
-bash: cd: //f
itten.
/usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied
/usr/bin/install: accessing `//filesrv/chj//.bash_profile': Permission denied
/usr/bin/install: accessing `//filersrv/chj//.inputrc': Permission denied
-bash: cd: //filesrv/chj: Permission denied
-bash: //fi
8 matches
Mail list logo