Re: [opensuse] limit 'su' to a specific username



In <D328AD8CB88743ACA963342BC7A69A27@adminPC>, James D. Parra wrote:
-----Original Message-----
From: Boyd Stephen Smith Jr. [mailto:bss@xxxxxxxxxxxxxxxxx]
Sent: Thursday, July 30, 2009 8:42 AM
In <758626AE705047B0B58529379A65F2A9@adminPC>, James D. Parra wrote:
What I want is to have users ssh into the server, then any of them can
su to the special user to execute commands as that special user. The
special user will not have ssh access (I want to see who is logged into
the server). I want to continue denying non-admin users the ability to
su to any other user.

Any ideas how I can accomplish this?

Use sudo instead. It was designed for this. 'su' was not.
~~~~~~~~~~~~~~~~~~~~~~~~~

You can sudo to specific user only and run as that user? How is that setup
in sudo?

man sudoers

That will get you started. When I have more time I might give a more full
reply.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@xxxxxxxxxxxxxxxxx ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/

Attachment: signature.asc
Description: This is a digitally signed message part.