wheel group
wheel group
I am new to linux and I added myself into the wheel group. I can;t seem to do anything (adduser). If I take myself out of the wheel group and just add myself to /etc/sudoers then I can use sudo to run what I want. My question is why isn't adding myself to the wheel group enough?
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: wheel group
Do you use the after adding yourself or you just log out and login ?
Code: Select all
newgrp wheel
Re: wheel group
Why am I making a newgroup? Wheel already exist I did gpasswd -a intel233 wheel (as root). Then I exit and try to run useradd and get permission denied,hunter86_bg wrote:Do you use theafter adding yourself or you just log out and login ?Code: Select all
newgrp wheel
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: wheel group
I have found that, despite logout/login suggestions, I needed to reboot.
That said, the command thereafter would be sudo useradd {parameters} as you've no doubt figured out
That said, the command thereafter would be sudo useradd {parameters} as you've no doubt figured out
Re: wheel group
First, newgrp doesn't do what you think it does. You can either run that or you can logout and back in again to pick up the new group. Without that, your existing session doesn't belong to the newly added group.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke