BIG-RAT / mobile_to_local

Migrate mobile Active Directory account to a local account
MIT License
55 stars 4 forks source link

Can not add a user password #3

Closed ateazzie closed 2 years ago

ateazzie commented 4 years ago

Hi

thnx for this great piece of software which we will use for our migration When I started the program I was not able to add my user password, no characters appeared in the field

Pls advice

BIG-RAT commented 4 years ago

How is the app being lauched? If you launch it from Terminal (say the app is in /Users/Shared):

sudo /Users/Shared/Mobile\ to\ Local.app/Contents/MacOS/Mobile\ to\ Local ?

Does it behave any differently?


From: ateazzie notifications@github.com Sent: Monday, August 10, 2020 11:03 AM To: BIG-RAT/mobile_to_local Cc: Subscribed Subject: [BIG-RAT/mobile_to_local] Can not add a user password (#3)

Hi

thnx for this great piece of software which we will use for our migration When I started the program I was not able to add my user password, no characters appeared in the field

Pls advice

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/mobile_to_local/issues/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF5NYOQDVZ3L6XGD7Q3SAAD5JANCNFSM4P2BTFLQ.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/BIG-RAT/mobile_to_local/issues/3", "url": "https://github.com/BIG-RAT/mobile_to_local/issues/3", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

ateazzie commented 4 years ago

Hi

Thnx for coming back to me It is in downloads and launched via terminal

Thnx

On Mon, 10 Aug 2020 at 19:13, Leslie Helou notifications@github.com wrote:

How is the app being lauched? If you launch it from Terminal (say the app is in /Users/Shared):

sudo /Users/Shared/Mobile\ to\ Local.app/Contents/MacOS/Mobile\ to\ Local ?

Does it behave any differently?


From: ateazzie notifications@github.com Sent: Monday, August 10, 2020 11:03 AM To: BIG-RAT/mobile_to_local Cc: Subscribed Subject: [BIG-RAT/mobile_to_local] Can not add a user password (#3)

Hi

thnx for this great piece of software which we will use for our migration When I started the program I was not able to add my user password, no characters appeared in the field

Pls advice

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/BIG-RAT/mobile_to_local/issues/3>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AFJYQF5NYOQDVZ3L6XGD7Q3SAAD5JANCNFSM4P2BTFLQ

.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": " https://github.com/BIG-RAT/mobile_to_local/issues/3", "url": " https://github.com/BIG-RAT/mobile_to_local/issues/3", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-671479446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSAYNZ5NG4HKTDV3MK7DHTSAATFDANCNFSM4P2BTFLQ .

ateazzie commented 4 years ago

small addition when I want to add the users password, it appears in the terminal, not in the app

BIG-RAT commented 4 years ago

Shows up in Terminal as plain text? Wonder if launching it as follows makes any difference and are you able to change the username?

currentUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' );sudo launchctl asuser "$currentUser" /Users/"$currentUser"/Downloads/Mobile\ to\ Local.app/Contents/MacOS/Mobile\ to\ Local -allowNewUsername true


From: ateazzie notifications@github.com Sent: Tuesday, August 11, 2020 4:57 AM To: BIG-RAT/mobile_to_local Cc: Leslie N. Helou; Comment Subject: Re: [BIG-RAT/mobile_to_local] Can not add a user password (#3)

small addition when I want to add the users password, it appears in the terminal, not in the app

- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-671822184, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQFZH6UOOBDGJDOM3OJDSAEBYHANCNFSM4P2BTFLQ.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-671822184", "url": "https://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-671822184", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

ateazzie commented 4 years ago

Hi this worked. Brilliant! do I have to add this in my deployment?

We will migrate over 1100 Macs, where this is the major part

thnx

BIG-RAT commented 4 years ago

?Sure. Depending on how you want things to run add the script as a post install script as part of the package.


From: ateazzie notifications@github.com Sent: Thursday, August 13, 2020 8:32 AM To: BIG-RAT/mobile_to_local Cc: Leslie N. Helou; Comment Subject: Re: [BIG-RAT/mobile_to_local] Can not add a user password (#3)

Hi this worked. Brilliant! do I have to add this in my deployment?

We will migrate over 1100 Macs, where this is the major part

thnx

- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-673450222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF57U6VVH53LIDQ5YBTSAPMPHANCNFSM4P2BTFLQ.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-673450222", "url": "https://github.com/BIG-RAT/mobile_to_local/issues/3#issuecomment-673450222", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

ateazzie commented 4 years ago

do you have any idea why the application will not run with out adding allowNewUsername true?

BIG-RAT commented 3 years ago

I do not. Will it run if you run with allowNewUsername false?