"su" to a non-superuser account
From: BB (none_at_none.com)
Date: 03/17/05
- Next message: Jur: "Re: "su" to a non-superuser account"
- Previous message: Tim Lines: "Reserving UIDs in useradd/sam"
- Next in thread: Jur: "Re: "su" to a non-superuser account"
- Reply: Jur: "Re: "su" to a non-superuser account"
- Reply: BB: "Re: "su" to a non-superuser account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Mar 2005 01:40:18 -0500
Hello All,
I am wondering if the following scenario can be achieved or not.
I am trying to write a script that will su from user1 to user2. I know if I
do su from root to user1 I don't require any password. However, is their a
way to achieve this if user1 and user2 are non-superusers?
Basically, I want to give the DBA (user1) the ability to kill any process
that may have been run by user2 via a script but not sure how to handle the
password prompt.
Also, would it help if user2 was part of "adm" group?
I have looked at sudo but would like to stay way from open source if I can.
Any advice or assistance is much appreciated.
Thank You.
- Next message: Jur: "Re: "su" to a non-superuser account"
- Previous message: Tim Lines: "Reserving UIDs in useradd/sam"
- Next in thread: Jur: "Re: "su" to a non-superuser account"
- Reply: Jur: "Re: "su" to a non-superuser account"
- Reply: BB: "Re: "su" to a non-superuser account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|