M
M
mark okolov2018-10-02 19:53:14
linux
mark okolov, 2018-10-02 19:53:14

How to run an installed program on another user in ubuntu?

Made the user a command: sudo useradd -m -d /home/mark/PycharmProjects/odoo -U -r -s /bin/bash odoo
added a password to him: sudo passwd odoo
on administrator set anaconda
switch to new user: sudo su - odoo
on there is no anaconda in it, an attempt to install via sudo knocked out the following error: odoo is not in the sudoers file. This action will be logged.
how do i run an already installed conda and how can i use sudo on a new user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentin Efimov, 2018-10-03
@okolovmark

After creating the odoo user, you need to add the new user to the sudo group:
usermod -aG sudo odoo
Then the odoo user can use sudo to install the same anaconda.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question