Re: [osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-05 Thread Darren J Moffat
Martin Bochnig wrote: Maybe getuserattr() or getauthattr() ? Plus getpublickey() Or don't those work with files as NS ?? /etc/publickey works just fine with files. -- Darren J Moffat ___ opensolaris-discuss mailing list

Re: [osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-05 Thread Darren J Moffat
Roland Mainz wrote: Hi! Is there a nameservice-independent way to obtain the values for user_attr and publickey from a shell script (if not I would propose to add a extension to getent) ? publickey no there isn't. For user_attr it depends which values you want. user_attr is a little

[osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-04 Thread Roland Mainz
Hi! Is there a nameservice-independent way to obtain the values for user_attr and publickey from a shell script (if not I would propose to add a extension to getent) ? Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, CJAVASunUnix

Re: [osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-04 Thread Martin Bochnig
Roland Mainz wrote: Hi! Is there a nameservice-independent way to obtain the values for user_attr and publickey from a shell script (if not I would propose to add a extension to getent) ? Maybe getuserattr() or getauthattr() ? nameservice-independence is probably done via

Re: [osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-04 Thread Martin Bochnig
Martin Bochnig wrote: Roland Mainz wrote: Hi! Is there a nameservice-independent way to obtain the values for user_attr and publickey from a shell script (if not I would propose to add a extension to getent) ? Maybe getuserattr() or getauthattr() ? nameservice-independence

Re: [osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-04 Thread Martin Bochnig
Martin Bochnig wrote: Roland Mainz wrote: Hi! Is there a nameservice-independent way to obtain the values for user_attr and publickey from a shell script (if not I would propose to add a extension to getent) ? Maybe getuserattr() or getauthattr() ? Plus getpublickey()

Re: [osol-discuss] Obtaining nameservice-independent user_attr and publickey data from a shell script ?

2007-01-04 Thread Martin Bochnig
Martin Bochnig wrote: Martin Bochnig wrote: Maybe getuserattr() or getauthattr() ? Plus getpublickey() Or don't those work with files as NS ?? *shrug* Exclusively from a shell script, no C? Can't you analyse the files in /etc directly then? Which other tools can be expected to