Q

Limiting access to single user accounts

Expert James Turnbull explains how to limit multiple active sessions for a single user account on Red Hat 8.0.

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.

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

Dig deeper on Linux system security best practices

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close