Greetings, Cedric Blancher!

>> What problem are you solving?

> 1. Replace PsExec, and only use Cygwin builtin tools

Cygwin is a user-level library, don't use it to substitute system
administration tools. Bad idea. Bad things will happen.

> 2. Do global mounts, i.e. mount SMB filesystem for all users. That
> AFAIK only works if you logon as user SYSTEM, and do the net use
> \\server\path there

That would only mount the path for SYSTEM user. All network mounts are
per-session. Every user has to do it for themselves. More so, if a user has
elevation rights, they will need to remount the paths under elevated token
separately.

Use logon scripting for that. Solves the problem the way it's intended to be
solved.


-- 
With best regards,
Andrey Repin
Saturday, January 4, 2025 04:23:39

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to