Solved

Give users access to su to generic account, but login as themselves with generic disabled?

Posted on 2004-10-13
3
249 Views
Last Modified: 2010-04-22
Hi,

What would be the easiest way to accomplish this.

For security, I need users to login as themselves; however, they need to be able to access a generic account we have.   Can I set it up so they can login as themselves, then su to the generic account, but disable login with the generic account so they are forced to login as themselves?

Thanks

0
Comment
Question by:jkrech17
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 500 total points
ID: 12299384
Sounds like you want to use sudo. You can create the generic account with no valid password and put in rules about who can sudo to that account. You can also restrict people to running specific commands as that user rather than getting general access.
0
 

Author Comment

by:jkrech17
ID: 12299902
Would there be a way to allow them to ssh as themselves and su as the generic account, but not ssh as the generic account?
0
 

Author Comment

by:jkrech17
ID: 12300134
Thanks, I was able to deny ssh to the generic account; however, still allow them to su.  

Thanks for the input and I believe your solution would work too.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now