Sponsored Content
Full Discussion: Doubt User Log
Top Forums UNIX for Dummies Questions & Answers Doubt User Log Post 302168235 by Smiling Dragon on Sunday 17th of February 2008 05:55:57 PM
Old 02-17-2008
You'll need to clarify your question sorry. What are these users using to access folders on the system? Samba? FTP? IMAP folders? LDAP?

What authentication are they using? Seperate file? Synched to some outside source? Unix account authentication?

What information are you after? The username they logged in via? Or something else?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

User log in info

Hi, I am using SunOS and HP-UX. I am trying to removed user that has not been using the system for a period of time. Is there anyway to find out how long since the last time the user logged on. I know there is command "last" that read from the file /etc/wtmp that hold some of information. ... (1 Reply)
Discussion started by: vtran4270
1 Replies

2. Shell Programming and Scripting

log out user in script

Hi, I have a script giving option to allow user who run the script log out the server. I used 'exit' when user chose this option. But it didn't work the way I wanted. It only exit the program not the machine. I used 'logout' after 'exit'. Still not working. Anyone has some ideas? Thanks!!! (6 Replies)
Discussion started by: whatisthis
6 Replies

3. AIX

Log-Off a user

Hi everybody, First, Is the command who show all the users connected to my system? Is it equivalent to the commands last |grep still. Second, How I can log-off a specific user? Note: My system is AIX 4.3 (3 Replies)
Discussion started by: aldowsary
3 Replies

4. UNIX for Advanced & Expert Users

doubt regarding user password expiry in unix

I want to know the command through which we can know the expiry date of the password. I tried chage but it is not working on my system please provide necessary information I am not using root I need info on user level (2 Replies)
Discussion started by: irshad
2 Replies

5. UNIX for Dummies Questions & Answers

Doubt over Uid and User name.

Hi, I know the uid and I wan to know the user name the uid belongs to. How can I get it. Suppose My user name is ssnayak and coresponding uid is 1110 Similarly I know one uid 1212 and how can I come to know the user name for this uid. Thanks & Regards, Siba (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

6. HP-UX

HP - New user who cant log on

Hi, Please could you tell me how I can create a new user account on HP-UX who can only sign-on from the console ? Thanks (4 Replies)
Discussion started by: catheram
4 Replies

7. Solaris

New user can not log in

Recently I created new user because I don not wont to use root account as default but when I want to login I can choose Java desktop and after few seconds , system returns me back to login screnn , only root account woks fine (16 Replies)
Discussion started by: microbot
16 Replies

8. Shell Programming and Scripting

User last log

I need know when user was loged last time? So when my user log in his account he will see welcom message: Hello username. Today is: date. Last time You loged on : date. I tried to use comand lastlog -u username but it shows me time from few seconds ago. I need logging one before. ... (1 Reply)
Discussion started by: Budrys
1 Replies

9. Shell Programming and Scripting

Log all the commands input by user at real time in /var/log/messages

Below is my script to log all the command input by any user to /var/log/messages. But I cant achieve the desired output that i want. PLease see below. function log2syslog { declare COMMAND COMMAND=$(fc -ln -0) logger -p local1.notice -t bash -i -- "$USER:$COMMAND" } trap... (12 Replies)
Discussion started by: invinzin21
12 Replies
AUTH_LOGIN(3)						      Double Precision, Inc.						     AUTH_LOGIN(3)

NAME
auth_login - Validate a userid and password SYNOPSIS
#include <courierauth.h> int rc=auth_login(const char *service, const char *userid, const char *password, int (*callback_func)(struct authinfo *, void *), void *callback_arg); DESCRIPTION
auth_login verifies whether userid exists, and whether it's password is correct. service specifies which so-called "service" is being authenticated; like "imap" or "pop3". service may or may not be used by the Courier authentication library's configured back-end module. RETURNS
callback_func will be invoked if auth_login succeeds, and callback_func's return value becomes the return value from auth_login (which should be 0, by convention). callback_func will not be invoked if an error occurs, which is reported by a non-zero return value from auth_login. By convention, a positive return value indicates an internal, temporary failure, such as the authentication daemon process not running; a negative return value indicates that this request was processed, but it failed. The second argument to callback_func will be callback_arg, which is not interpreted by this function in any way. The first argument will be a pointer to the following structure: Example 1. struct authinfo struct authinfo { const char *sysusername; const uid_t *sysuserid; gid_t sysgroupid; const char *homedir; const char *address; const char *fullname; const char *maildir; const char *quota; const char *passwd; const char *clearpasswd; const char *options; } ; Description of the above fields: address The authenticated login ID. sysusername The authenticated account's userid and groupid can be looked up in the password file using address. If this field is NULL, obtain the userid and the groupid from sysuserid and sysgroupid. sysuserid sysuserid may be NULL if sysusername is initialized, otherwise it's a pointer to the account's numeric userid. sysgroupid Account's numeric groupid. sysgroupid is only used when sysusername is NULL. fullname This is the account's full name. This field is optional, it may be NULL. homedir The account's home directory. This field cannot be NULL. maildir The pathname to the account's mailbox. This field is optional, it can be NULL in which case the default location is assumed. quota Optional maildir quota on the account's mailbox (and NULL if no quota is set). passwd The account's encrypted password, if available. If the account has a cleartext password defined, this field can be set to NULL. The encrypted password can take several formats: o A traditional triple-DES crypted password, or a MD5+salt-hashed password, as used in Linux. o "{MD5}" followed by a base64-encoded MD5 hash of the password. o "{SHA}" followed by a base64-encoded SHA1 hash of the password. clearpasswd The account's cleartext password, if available. If the account has an encrypted password defined, this field can be set to NULL. options A comma-separated list of miscellaneous account options. See below for more information. Account options Depending on the configuration of the Courier authentication library, accounts may have individual options associated with them. If the authentication library configuration does not implement account options, the option string will be NULL. Otherwise it will be a comma-separated list of "option=value" settings. Note This is the account option implementation that's used by Courier, Courier-IMAP, and SqWebMail packages. Some of the following information is obviously not applicable for a particular package. The inapplicable bits should be obvious. The following options are recognized by the various Courier packages: Note The application is responsible for enforcing all the "disabled" option. An authentication request for service "imap", for example, will succeed provided that the userid and the password are valid, even if "disableimap=1" is set. The application's callback_func should check for this condition, and return a negative return code. disableimap=n If "n" is 1, IMAP access to this account should be disabled. disablepop3=n If "n" is 1, POP3 access to this account should be disabled. disablewebmail=n If "n" is 1, webmail access to this account should be disabled. disableshared=n If "n" is 1, this account should not have access to shared folders or be able to share its own folders with other people. group=name This account is a member of access group name. Instead of granting access rights on individual mail folders to individual accounts, the access rights can be granted to an access group "name", and all members of this group get the specified access rights. The access group name "administrators" is a reserved group. All accounts in the administrators group automatically receive all rights to all accessible folders. Note This option may be specified multiple times to specify that the account belongs to multiple account groups. sharedgroup=name Append "name" to the name of the top level virtual shared folder index file. This setting restricts which virtual shared folders this account could possibly access (and that's on top of whatever else the access control lists say). See the virtual shared folder documentation for more information. For technical reasons, group names may not include comma, tab, "/" or "|" characters. SEE ALSO
authlib(3)[1], auth_generic(3)[2], auth_getuserinfo(3)[3], auth_enumerate(3)[4], auth_passwd(3)[5], auth_getoption(3)[6]. NOTES
1. authlib(3) authlib.html 2. auth_generic(3) auth_generic.html 3. auth_getuserinfo(3) auth_getuserinfo.html 4. auth_enumerate(3) auth_enumerate.html 5. auth_passwd(3) auth_passwd.html 6. auth_getoption(3) auth_getoption.html Double Precision, Inc. 08/23/2008 AUTH_LOGIN(3)
All times are GMT -4. The time now is 01:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy