Question

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 ...

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top