P
P
PrCj2014-08-30 13:19:40
Access rights
PrCj, 2014-08-30 13:19:40

How to set sudo password (root and su) different from user password?

OS Ubuntu 14.04.
You need to set two passwords (different from each other): one for the user (for logging in), the other for sudo, su and root.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Krasnodemsky, 2014-08-30
@PrCj

Get another user, there will be root, superuser and your user.

D
Dmitry, 2014-08-30
@zmeyjr

sudo passwd root

V
Vlad Zhivotnev, 2014-09-01
@inkvizitor68sl

for sudo - no way. Password for sudo == user password.
For su - passwd root

K
Konstantin Andreevich, 2014-08-30
@reffy

habrahabr.ru/post/28589

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question