Hi,
does anyone found a methode to detect if a bash process
is running so-called "elevated" with cygwin on windows vista ?
it would be a nice feature setting the prompt to a value
reflecting this like done when running as root under an unix os.
or to modify the windows title to reflect the fact t
Hi,
is there any possiblity to list the cygwin processes of all users when
logged in as an user which is member of the Adminstrators group in
windows vista ?
There are only the own processes and the service processes (inetd etc.)
visible in ps output and of course also in the /proc filesystem.
Corinna Vinschen cygwin.com> writes:
>
> On Feb 4 16:41, Kurt Franke wrote:
> >
> > Hi,
> >
> > is there any possiblity to list the cygwin processes of all users when
> > logged in as an user which is member of the Adminstrators group in
> > wind
Christopher Faylor cygwin.com> writes:
>
> On Thu, Feb 07, 2008 at 12:43:47AM +0000, Kurt Franke wrote:
> >Corinna Vinschen cygwin.com> writes:
> >
> >>
> >> On Feb 4 16:41, Kurt Franke wrote:
> >> >
> >> > Hi,
> >>
Scott Wegner hdfgroup.org> writes:
>
> Greg Chicares wrote:
> > On 2008-03-25 13:30Z, Scott Wegner wrote:
> >> I am trying to create a "wrapper" Cygwin bash script to add
> >> functionality to an existing Windows batch script. In my Cygwin script,
> >> I would like to call the batch file with
Corinna Vinschen cygwin.com> writes:
> > dbm style unix) database, and don't keep that in memory, unless you
> > want a small LRU algorithm in there to keep a small fixed number. I
> > bet the tiny delay later on a ls or other unix translation won't be
> > very noticeable.
>
> This means, a rew
Corinna Vinschen cygwin.com> writes:
> > Indeed. After the discussion yesterday I already realized that we will
> > need some commandline tool to request passwd and group entries.
> >
> > There is a function called getpw on Linux which allows to fetch a passwd
> > entry in the form it has in /e
Angelo Graziosi alice.it> writes:
> $ ps
>PIDPPIDPGID WINPID TTY UIDSTIME COMMAND
> 2648 12648 2648 ? 1001 12:01:38 /usr/bin/mintty
> 372426483724 2012 pty01001 12:01:38 /usr/bin/bash
> 317637243176
Sebastien Vauban writes:
> Currently, whenever I create new files from Windows 8 executables (such
> as Notepad), they're often flagged as "executable", even for text files!
>
> I've noticed that such a behavior happens when I create a new file in
> a directory that has been made FROM CYGWIN (`m
Charles Wilson cwilson.fastmail.fm> writes:
>
> I ran across an interesting "feature" of remote access today. I was
> ssh'ed in to my cygwin computer, under my normal windows/cygwin account
> name, and tried to run 'patch':
>
> $ patch -p1 -R --dry-run < ../some-patch.patch
> patch: Can't
Cyrille Lefevre laposte.net> writes:
>
>
> Kurt Franke a écrit :
> > I added a script
> >
> >000-ssh-session-env.sh
> >
> > to /etc/profile.d/ to fetch the SYSTEM environment and USER environment
> > from the registry.
> > Some
Cyrille Lefevre laposte.net> writes:
... deleted ...
>
> may be you may post your code ?
>
> Regards,
>
> Cyrille Lefevre
Cyrille,
the script is appended in uuencoded form
(due to some lines longer 80 characters).
regards
kf
===
-Ursprüngliche Nachricht-
Von: Cyrille Lefevre
Gesendet: 06.03.2010 23:30:57
An: cygwin@cygwin.com,kurt-fra...@web.de
Betreff: Re: ssh + patch + $TMP
>Hi,
>
>the attached script only fork 5 processes (ps, grep, mount, find and
>awk), and does not use any temporary files, so, it should no
Ferenc Kovacs gmail.com> writes:
...
> I have an application, which links with a shared library (fairly common
> situation :)). This shared library provides the main() function. This
> approach works well on Linux/Solaris machines, but on Cygwin 1.7
> I get the following link error:
...
Hi Fer
Adi B Treiner (abt Account treiner.net> writes:
>
> Hi,
>
> Maybe you are determining something within my cygwin configuration which
> causes the issue.
>
> The issue is, when I'm starting jobs from crontab which should transfer
> backup archives from a local depot to a network depot, I'm det
Hi Ralf,
Ralf Fassel gmx.de> writes:
>
> In a SHELL script I prepare a temp file to pass to some non-cygwin
> program:
>
> # TMPDIR is set to c:/temp outside of cygwin
> # which translates to /cygdrive/c/temp inside cygwin
> # prepare input
> TMPFILE=$TMPDIR/foo.$$
> cat
Larry Hall (Cygwin cygwin.com> writes:
>
> On 09/03/2014 05:19 PM, Dat Head wrote:
> > I have a symlink from /usr/local/bin to /3TB-external/bin/CYGWIN to keep
> > architecture independent bin files on an external drive for portability.
> >
> > every time I run cyg setup.exe it removes the symli
Lord Laraby gmail.com> writes:
>
> On Thu, Aug 16, 2012Corinna Vinschen
> > On Aug 16 08:48, Lord Laraby wrote:
> >> On Thu, Aug 16, 2012 Corinna Vinschen wrote:
> >> > On Aug 16 07:06, Lord Laraby wrote:
> >>
> >> See, here where I said I want to know if the user is in fact
> >> "elevated"? I'
Simon Brandner gmx.de> writes:
> On Wed, 23 Jun 2010 11:29, Larry Hall wrote:
...
> $ cygcheck -s -v -r > cygcheck.out
> cygcheck: dump_sysinfo: GetVolumeInformation() for drive J: failed: 5
> cygcheck: dump_sysinfo: GetVolumeInformation() for drive Z: failed: 53
> J: is some special drive, for
Hello,
a privilege problem occures with permanent virtual drives defined
as DOS devices.
$> uname -a
CYGWIN_NT-6.0 meow2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
when have defined dos devices to access a particular path as a
permanent virtual drive in each session like the following exam
Olivier Lefevre yahoo.com> writes:
> Re. raw sockets and the need for elevated privilege,
> can't you use the RunAs trick to get around it?
Also on Unix/Linux a raw socket cannot be used by a normal user.
But the ping program is setuid root and thus can be called by any user.
Unfortunatly there
Andrew Hancock gmail.com> writes:
... something deleted
>
> Would it suffice to use chown to force ownership back to the strings
> "LOCAL SERVICE" and "NETWORK SERVICE"? Or is something deeper
> required to ensure complete and proper ownership transferral?
>
Andrew
just add the following entr
Sky Diver gmail.com> writes:
...
>
> Still, how can I get a normal behavior (i.e. normal Windows symlinks
> as produces in winsymlinks:nativestrict mode) in a regular session w/o
> elevation?
>
You could grant the necessary privilege to your account or to the group Users
editrights -u sky -a
23 matches
Mail list logo