lost of admin right

david@starks-browning.com david@starks-browning.com
Tue Dec 14 16:47:23 GMT 2021


You need --no-admin option to setup if you don't have administrative
privileges, if that's all you're after.

If you are asking how to modify/update your existing installation that was
installed as administrator, that might be impossible, if you no longer have
privileges there.

Regards,
David

-----Original Message-----
From: Cygwin <cygwin-bounces+david=starks-browning.com@cygwin.com> On Behalf
Of Sharuzzaman Ahmat Raslan
Sent: 14 December 2021 14:10
To: efa@iol.it
Cc: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: lost of admin right

Hi Valerio,

Have you tried using the "-B" command line option when running
setup-x86_64.exe ?

Thank you.

On Tue, Dec 14, 2021 at 9:33 PM Valerio Messina via Cygwin <
cygwin@cygwin.com> wrote:

> hi,
> I have a company PC where I was admin and installed Cygwin in a non 
> supported path:
> D:\Program Files (x86)\cygwin64
> /cygdrive/d/Program Files (x86)/cygwin64 and worked like a sharm for 
> years, with a quite complex env.
>
> Now admin right was revoked to me, and the update via setup.exe cannot 
> proceed.
> I can ask to the company admin to update the distribution every time, 
> but this is impractical.
>
> 1) Do you know if re-installing to supported path something like:
> D:\ProgramFiles\cygwin64
> /cygdrive/d/ProgramFiles/cygwin64
> let me update the distro without admin right?
>
> I made a backup of the about 800 installed packages with:
> $ cygcheck -c -d | cut -d' ' -f1 | tail -n+3 > 
> installedPackages2021-12.txt I never tryed to restore the backup with:
> $ setup -M -P package1,package2, ...
>
> 2) Someone know if that work well ?
>
> thank you,
> --
> Valerio
>
> --
> 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
>


--
Sharuzzaman Ahmat Raslan

-- 
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



More information about the Cygwin mailing list