It used to be possible to test for the presence of 544 in the bash array GROUPS
or the output of the /usr/bin/id program to determine when running as
administrator.
Since updating to the latest version this no longer works.
E.g. while running as administrator:
$ echo ${GROUPS[@]}
197121 114 1
Andrew Schulman wrote:
> What's a reliable and efficient way to determine programmatically if the
> shell> that's running has elevated privileges?
> Or if you prefer, how can I tell if the shell was started with "Run as
> administrator"?
If you search the mailing list archive for "Change PS1
On Monday, 23 June 2014, 14:57, Thomas Anderson wrote:
> Hi, after a recent upgrade (maybe the 20) I have some problem with
> special characters and ls --color
>
> For example:
>
> $ ls --color
> file.txt temp/
>
> is ok
>
> but
>
> $ ls --color > ls.txt
>
> is not
>
> $ less ls.txt
>
> file.
> Frank Fesevur writes:
>> When I run as administrator I change my PS1 from "$" to "#" with these
>> line in ~/.bashrc.
>>
>> if id -Gn | grep -i Administrators > /dev/null
>
> If anything I'd check for membership in group 544. "Administrators"
> surely is one of these strings that gets localized
On Monday, 16 June 2014, 12:25, Frank Fesevur
wrote:
> Hi,
>
> I recently bought a new home computer, so I switched from XP to Win81.
> With Win81 every now and then I need to start cygwin as administrator
> (right click shortcut or tile, run as administrator) to do things that
> I can't do as
Since the latest upgrade the following python program causes an "Aborted (core
dumped)" error:
#!/usr/bin/python
import ctypes
import zlib
a = 1
If the order of imports is reversed (zlib then ctypes) no core dump error
occurs.
python2.7.exe.stackdump contains nothing of use:
Stack trace:
Frame
On Oct 16 Corinna Vinschen wrote:
> On Oct 15 23:55, GrahamC wrote:
> > Another anomaly with disk drive partition devices (/dev/sdX1, /dev/sdX2
> > etc.) is the access control.
> >
> > While the whole disk devices (/dev/sdX) can only be accessed when running
Another anomaly with disk drive partition devices (/dev/sdX1, /dev/sdX2 etc.)
is the access control.
While the whole disk devices (/dev/sdX) can only be accessed when running as
administrator, the
individual partition devices (/dev/sdX1, /dev/sdX2 etc.) can be both read and
written without
nee
On 10/15/2012 Corinna Vinschen wrote:
> On Oct 15 20:24, GrahamC wrote:
> >
> > On 10/15/2012 Steve John wrote:
> > > I am looking for cygwin tool in Windows 8 platform. When i execute
> > > the setup.exe (for installing cygwin in Windows 8 OS), i couldn
On 10/15/2012 Steve John wrote:
> I am looking for cygwin tool in Windows 8 platform. When i execute
> the setup.exe (for installing cygwin in Windows 8 OS), i couldn't see
> any mirror sites for downloading cygwin tool in Windows 8 OS. Just
> wondering if the tool is supported for Windows 8, if
On 10/9/2012 7:25 PM, Olumide wrote:
> When I run octal dump (od) I notice that extended ASCII characters are
> displayed incorrectly as ordinary characters. For example, the extended
> characters 191, 196, and 218 are displayed as '?' , 'D' and 'Z'
> respectively. I thought od was 'anding' the ea
11 matches
Mail list logo