Jim:

There is a C-interface called getuserattr(3SECDB) which allows you
to easily access user_attr values.  Wouldn't it be better to use this
rather than try to parse the file directly?

Perhaps it would be good to write a small C-program to get the data
you need and use it to get the data you need?

Brian


> The backend cann't get the correct user's profiles, cause 'profiles
> $name' command has change it's format of output. This patch get an
> user's profiles by directly parsing /etc/user_attr file instead of using
> profiles command.
>
> thanks
>
> Jim


Reply via email to