See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
restricted user with some privilegies
#4
(02-09-2018, 02:03 AM)Sprintrdriver link Wrote: So the question is - is it possible to add the new user to a group so that it can have access to mount and dismount?

Hello Sprintrdriver,

be logged in as your First user.


Adding username2 in to the sudoers Group


Hold down Ctrl and Alt keys and press t (Ctrl Alt +t)

Copy/paste (or type) in to your terminal the code below, replacing the word "username2", with the actual username of your second user -

Code:
sudo usermod -a -G sudo username2

press enter
type in your password when asked (password of first user)


Explanation of this command -
  • This will modify the username2 (usermod) (actual username2)
  • and add/append (-a)
  • to the group (-G)
  • named (sudo)

Checking username2 is now in the sudo group


Afterwards you can do, replacing the word "username2", with the actual username of your second user -

Code:
groups username2

to check.


Adding/Changing sudo password of username2


If it needs the password added for the sudo group of username2
Then to do, replacing the word "username2", with the actual username of your second user -

Code:
sudo passwd username2
press enter
type username2 password
press enter
type username2 password again.
press enter
Reply


Messages In This Thread
Re: restricted user with some privilegies - by bitsnpcs - 02-09-2018, 04:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)