03-10-2009
can you give a clear description..
anyways , the book sun application packaging developers guide is a very good one and gives all solutions.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am adding gcc 3.3.2 to my unix box what is the best way
to do it???? (4 Replies)
Discussion started by: alsande
4 Replies
2. UNIX for Advanced & Expert Users
Hello.. I'm making a pkg file that inserts a few files into an existing directory structure.
I'm having some trouble in that the package will insert the directories I need.. but will fail to put the files I want into those directories.
What I'm getting is this:
ERROR: attribute... (2 Replies)
Discussion started by: Bags
2 Replies
3. Solaris
is there an option in pkgadd to accept the default option?
I want to use pkgadd in a script and do not want to stop at intercative questions.
thx. (6 Replies)
Discussion started by: melanie_pfefer
6 Replies
4. UNIX for Advanced & Expert Users
I have a server running solaris 8 with veritas 4.1. I am trying to install a package on the server. The package install fails miserably though. I have installed the very same package on other development servers, but for some reason, the install fails on this, soon to be prod, server. No idea... (3 Replies)
Discussion started by: Sowser
3 Replies
5. Solaris
I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output.
pkgadd -d packagename.dstream
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) :
Processing... (1 Reply)
Discussion started by: mokkan
1 Replies
6. Solaris
Hi all.
Is there an option to #pkgadd to test if package bundle you want to install requires a reboot?
#pkgadd -d "package bundle" an option like test or a dry run?
Suggestions, anyone? :confused:
Reloader (2 Replies)
Discussion started by: Reloader
2 Replies
7. Solaris
Morning all,
I am attempting to load a package from a Solaris 8 CDROM.
This fails with the error :
"pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap>
No changes were made to the system"
Any help would be appreciated
Andy (6 Replies)
Discussion started by: AndyD
6 Replies
8. Solaris
Hi All,
Good Mng,Here I am getting one error while adding the top package to one of my Aun server.
root@HYDREM01 # pkgadd -d top-3.6.1-sol9-sparc-local
The following packages are available:
1 SMCtop top
(sparc) 3.6.1
Select package(s) you wish to process (or... (6 Replies)
Discussion started by: lbreddy
6 Replies
9. Solaris
Hi,
when I install a package using pkgadd, it correctly installs the binary files with the user name that I want.
However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is.
I could see that before installing,... (1 Reply)
Discussion started by: funwithdolphin
1 Replies
10. Solaris
I am using Solaris 10, and trying to keep a number of old Sun
workstations running.
Since version 17 of firefox, I have had problems using pkgadd,
and had to use tar to un-archive the components of firefox.
Is this just a problem with firefox (and probably thunderbird),
or is pkgadd broken (1 Reply)
Discussion started by: jkoval
1 Replies
LEARN ABOUT OPENDARWIN
pam_end
PAM_START(3) Application Programmers' Manual PAM_START(3)
NAME
pam_start, pam_end - activating Linux-PAM
SYNOPSIS
#include <security/pam_appl.h>
int pam_start(const char *service, const char *user, const struct pam_conv *conv, pam_handle_t **pamh_p);
int pam_end(pam_handle_t *pamh, int pam_status);
DESCRIPTION
pam_start
Initialize the Linux-PAM library. Identifying the application with a particular service name. The username can take the value
NULL, if not known at the time the interface is initialized. The conversation structure is passed to the library via the conv argu-
ment. (For a complete description of this and other structures the reader is directed to the more verbose Linux-PAM application
developers' guide). Upon successful initialization, an opaque pointer-handle for future access to the library is returned through
the contents of the pamh_p pointer.
pam_end
Terminate the Linux-PAM library. The service application associated with the pamh handle, is terminated. The argument, pam_status,
passes the value most recently returned to the application from the library; it indicates the manner in which the library should be
shutdown. Besides carrying a return value, this argument may be logically OR'd with PAM_DATA_SILENT to indicate that the module
should not treat the call too seriously. It is generally used to indicate that the current closing of the library is in a fork(2)ed
process, and that the parent will take care of cleaning up things that exist outside of the current process space (files etc.).
RETURN VALUE
pam_start
pam_end
On success, PAM_SUCCESS is returned
ERRORS
May be translated to text with pam_strerror(3).
CONFORMING TO
DCE-RFC 86.0, October 1995.
Note, the PAM_DATA_SILENT flag is pending acceptance with the DCE (as of 1996/12/4).
BUGS
None known.
SEE ALSO
fork(2), pam_authenticate(3), pam_acct_mgmt(3), pam_open_session(3), and pam_chauthtok(3).
Also, see the three Linux-PAM Guides, for System administrators, module developers, and application developers.
Linux-PAM 0.56 1997 Feb 15 PAM_START(3)