06-07-2008
thanks a lot....
Really appreciate your concern!!!
I shall be waiting
![Thumbsup Smilie](https://www.unix.com/images/smilies/thumb.gif)
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
i want to know, how do i to create a rwa partttions in unixware 7
wit raid 5
best regards
felix arteaga (1 Reply)
Discussion started by: farteaga
1 Replies
2. Filesystems, Disks and Memory
Hi all!
Working on Oracle v8.1.7.0.0 with OS as Suse v8.0 Linux.
I had created LVM,linked raw devices to LVM as below:
# for binding raw devices
raw /dev/raw/raw1 /dev/oracle/sam_raw_system_251m
raw /dev/raw/raw2 /dev/oracle/sam_raw_users_26m
raw /dev/raw/raw3... (2 Replies)
Discussion started by: Amitstora
2 Replies
3. Solaris
Hello
I wonder if someone could help me in reading a raw (non-Solaris) disk on a Solaris system...
I have an IDE HDD in my Sun Blade and would like to read it (using C). It appears on the system and with the format command shows up as c0t1d0.
I use the dd command to read the disk as such:... (19 Replies)
Discussion started by: son_t
19 Replies
4. SCO
i have one 9 gb hdd having root 2 gb fs
now i want to create additional 1gb fs in remaining space
unix partation created in entired 9gb
thanx (1 Reply)
Discussion started by: sudhir69
1 Replies
5. Solaris
Friends,
I have an 80 GB IDE hard disk on which I installed Solaris 10, the layout being
Total size of the partition being 30 GB
c0d0s0 = / directory = 15 GB
c0d0s1 = swap file system = 1 GB
c0d0s7 = /export/home directory = 1GB
c0d0s8= boot
c0d0s9 = alternates
... (3 Replies)
Discussion started by: saagar
3 Replies
6. Solaris
hi,
I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine.
thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies
7. Solaris
I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies
8. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Discussion started by: fretagi
0 Replies
9. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies
10. Solaris
I am using Solaris 9 (Sparc based) with Sybase and a proprietary DB application that works with Sybase. In the past we have not used SVM or any RAID config. The DBs were configured such that each DB had its own partition.
Now I would like to setup a new machine with the DBs on a RAID5 config... (1 Reply)
Discussion started by: DavidC_SysEngr
1 Replies
LEARN ABOUT REDHAT
pam_close_session
PAM_OPEN_SESSION(3) App. Programmers' Manual PAM_OPEN_SESSION(3)
NAME
pam_open/close_session - PAM session management
SYNOPSIS
#include <security/pam_appl.h>
int pam_open_session(pam_handle_t *pamh, int flags);
int pam_close_session(pam_handle_t *pamh, int flags);
DESCRIPTION
PAM provides management-hooks for the initialization and termination of a session.
pam_open_session
Use this function to signal that an authenticated user session has begun. It should be called only after the user is properly iden-
tified and (where necessary) has been granted their credentials with pam_authenticate(3) and pam_setcred(3) respectively.
Some types of functions associated with session initialization are logging for the purposes of system-audit and mounting directories
(the user's home directory for example). These should not concern the application. It should be noted that the effective uid,
geteuid(2), of the application should be of sufficient privilege to perform such tasks.
pam_close_session
Use this function to signal that a user session has terminated. In general this function may not need to be located in the same
application as the initialization function, pam_open_session.
Typically, this function will undo the actions of pam_open_session. That is, log audit information concerning the end of the user
session or unmount the user's home directory. Apart from having sufficient privilege the details of the session termination should
not concern the calling application. It is good programming practice, however, to cease acting on behalf of the user on returning
from this call.
RETURN VALUE
A successful return from the session management functions will be indicated with PAM_SUCCESS.
The specific error indicating a failure to open or close a session is PAM_SESSION_ERR. In general other return values may be returned.
They should be treated as indicating failure.
ERRORS
May be translated to text with pam_strerror(3).
CONFORMING TO
OSF-RFC 86.0, October 1995.
BUGS
none known.
SEE ALSO
pam_start(3), pam_authenticate(3), pam_setcred(3), pam_get_item(3), pam_strerror(3) and pam(3).
Also, see the three Linux-PAM Guides, for System administrators, module developers, and application developers.
Linux-PAM 0.55 1997 Jan 4 PAM_OPEN_SESSION(3)