New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

password changer


Post Reply New Thread Subscribe

 
Thread Tools
faisaliqbal

 
Member Since: Apr 09, 2014
Posts: 15
faisaliqbal is on a distinguished road

faisaliqbal is offline
how to write a cocoa application to change a password of mac machine.
QUOTE Thanks
faisaliqbal

 
Member Since: Apr 09, 2014
Posts: 15
faisaliqbal is on a distinguished road

faisaliqbal is offline
no one is genius to answer this question...wao?
QUOTE Thanks
McBie

 
McBie's Avatar
 
Member Since: Apr 26, 2008
Location: Belgium
Posts: 2,290
McBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to all
Mac Specs: 2013 MBA 13" - 10.9.3 & iPad - iOS 5.1

McBie is offline
Hmmmmmm ...... that attitude is not going to help you in life mate.

The people on this forum are providing valuable help because they want to, not because they have to.
They are devoting some of their free time to help others.
Your question might need some specific knowledge that not everyone has, so you will have to be patient.

As for my personal suggestion , I am sure that the Apple OSX SDK has a set of API's that you can use to ensure passwords are changed within the controlled environment of the OS :-)

Cheers ... McBie

A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
The problem is not the problem. The problem is your attitude towards the problem. You understand ?
QUOTE Thanks
faisaliqbal

 
Member Since: Apr 09, 2014
Posts: 15
faisaliqbal is on a distinguished road

faisaliqbal is offline
Please any one at least tell me the way to write objective-c code for cocoa which works similar to "passwd" unix command to set new user password.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,011
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
OS X has a passwd command already. Or are you trying to just make your own for some reason?

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
faisaliqbal

 
Member Since: Apr 09, 2014
Posts: 15
faisaliqbal is on a distinguished road

faisaliqbal is offline
Quote:
Originally Posted by cradom View Post
OS X has a passwd command already. Or are you trying to just make your own for some reason?
yes i want to write apps which should work similar to passwd
QUOTE Thanks
McBie

 
McBie's Avatar
 
Member Since: Apr 26, 2008
Location: Belgium
Posts: 2,290
McBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to allMcBie is a name known to all
Mac Specs: 2013 MBA 13" - 10.9.3 & iPad - iOS 5.1

McBie is offline
Are you a member of the Apple Developers group ?
My suggestion is to become a certified Apple Developer, use the official Apple OSX SDK and write apps that way.
I think that is the best way to deliver high quality apps.

Cheers ... McBie

A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
The problem is not the problem. The problem is your attitude towards the problem. You understand ?
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,011
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
passwd.c
That should do it.

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,757
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Or just execute passwd from your app using NSTask (see here).

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks

Post Reply New Thread Subscribe


« Digital signature for updating Mac application | increase volume programatically »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How do I reset admin password?? rhythmaker Switcher Hangout 18 05-03-2014 09:01 AM
Terminal Application won't take password dotdotdot OS X - Operating System 13 04-03-2014 05:28 PM
windows seven forgotten password Chetlynch@me.co Switcher Hangout 12 04-01-2014 05:15 PM
Password issues TrevTT OS X - Operating System 4 03-29-2014 08:34 AM

All times are GMT -4. The time now is 01:30 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?