Ask the Expert

Limiting access to single user accounts

Is there a way to allow a single user account to have only one active login session at a time on Red Hat 8.0? We want to have a developer account that several people may use. However, we want it configured so that they may only use it one-at-a-time.

    Requires Free Membership to View

The best way to limit user logins is using Pluggable Authentication Modules (PAM). Red Hat 8.0 should come with PAM enabled by default. Check in the /etc/security directory for a file called limits.conf that should provide the functionality you require. The limits.conf file is well-documented and you can also view the PAM man page using the command: man pam. Your Red Hat documentation should also discuss how PAM is implemented on your version of Red Hat.

This was first published in February 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: