Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do std unix apps authenticate etc/passwd or etc/shadow?



on 6/21/02 11:05 AM, Chad Cunningham at email@hidden wrote:

>
>> In standard unix (linix) many programs authenticate users using etc/passwd.
>> However users added to OSX server via server Admin or Users do NOT show up
>> in etc/passwd which I assume is used only for single user mode in OSX.
>
> It is very rare that a program would authenticate a user out of
> /etc/passwd unless it's a server program. What type of apps are you
> talking about?
>
>> How do I tell standard unix packages what file to use to allow
>> authentication if its NOT etc/passwd? For example neomail needs etc/passwd
>> user authentication. We need a good webmail program for osx and neomail
>> seems to handle attachments well.
>
> That's entirely dependant on how they are written. If they hardcode
> /etc/passwd and check for usernames in it, then you'll either have to dump
> the netinfo user data to /etc/passwd, or modify the program to look
> elsewhere (using the netinfo libraries or command line utilities).

We found that using
nidump passwd . > etc/passwd
As root user solved the problem.... Thanks Chad

Tom

---------------------------------------
Tom Dolby, Ph.D.
Technology Integration Specialist
Eastern Camden County Regional
1401 Laurel Oak Rd., Box 2500
Voorhees, NJ 08043-4328
Phone:856-784-4441 X1173
Fax:856-784-1322
email: email@hidden
web: www.eastern.k12.nj.us
:
Hobbies:
recumbent biking, paintball,
mineral collecting, freehand yo-yoing,
RV traveling, metal detecting.
----------------------------------------
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.