-1

i have a Server with 4 users: a, b, c, admin
I have the plan to enable user a and b to change
to user admin with the command su (without sudo! [Because screen program]) without a password promt.

I had read something about the /etc/sudoers file but nothing which match really with my Problem.

With regards, Tim

Solved :: Bad Idea

Don't create an Account without an password.
It can enable workarounds for users ...

fechnert
  • 1,215
  • 2
  • 12
  • 30
  • Why this _"without sudo"_ requirement? [Otherwise, this ServerFault answer is perfectly valid](http://serverfault.com/questions/17814/how-can-i-allow-one-user-to-su-to-another-without-allowing-root-access). – Wrikken Jan 29 '14 at 21:02

1 Answers1

0

You cannot do this with su. It requires a password, and it should. There is likely another approach you need to take if sudo is not an option. Otherwise they could always sudo -c 'su - admin' sort of thing.

Travis
  • 10,444
  • 2
  • 28
  • 48