What Are You Doing Right Now
-
@thanksajdotcom said in What Are You Doing Right Now:
Settling into work and working on the budget for the week. Had to pay FiOS today and...ouch...
Still, worth it... 100Mb Up and down? YES!
-
@scottalanmiller said in What Are You Doing Right Now:
Daughter (five year old) woke up crying with a fever and a hugely swollen neck. On our way to the clinic.
Hope she feels better
-
Sitting at CareNow now.
-
@scottalanmiller said in What Are You Doing Right Now:
Sitting at CareNow now.
Warm hugs... keep us updated when you can.
-
Trying to work out how to use Linux correctly in terms of users
CentOS7
created a "normal" user called helpdesk but now what to install updates and stuff using yum, then install osTickets
BUT! how to I run the stuff? Tried sudo yum update but got an error -
@hobbit666 said in What Are You Doing Right Now:
Trying to work out how to use Linux correctly in terms of users
CentOS7
created a "normal" user called helpdesk but now what to install updates and stuff using yum, then install osTickets
BUT! how to I run the stuff? Tried sudo yum update but got an errorSame as Windows. If you want to do admin tasks you need to be an admin.
So you need to give them root perms. Add them to the wheel group, enable wheel in the sudoers file and use sudo.
-
@hobbit666 usermod -aG wheel username
-
@wirestyle22 said in What Are You Doing Right Now:
@hobbit666 usermod -aG wheel username
I always just edit the file
-
@scottalanmiller said in What Are You Doing Right Now:
@wirestyle22 said in What Are You Doing Right Now:
@hobbit666 usermod -aG wheel username
I always just edit the file
what file?
-
@hobbit666 said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@wirestyle22 said in What Are You Doing Right Now:
@hobbit666 usermod -aG wheel username
I always just edit the file
what file?
sudoers. I think the command is
visudo
or
vi /etc/sudoers
-
@scottalanmiller said in What Are You Doing Right Now:
Add them to the wheel group, enable wheel in the sudoers file and use sudo.
That just sounds rude
-
@wirestyle22 said in What Are You Doing Right Now:
@hobbit666 said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@wirestyle22 said in What Are You Doing Right Now:
@hobbit666 usermod -aG wheel username
I always just edit the file
what file?
sudoers. I think the command is
visudo
or
vi /etc/sudoers
Correct. visudo is the "right" way to do it. So of course I never do.
-
@scottalanmiller Your hard work has paid off Scott. I was right one time
-
guess as root?
-
@hobbit666 said in What Are You Doing Right Now:
guess as root?
Yes. All admin tasks need root perms. Or else normal users could give themselves admin privs whenever they wanted.
-
@scottalanmiller said in What Are You Doing Right Now:
@hobbit666 said in What Are You Doing Right Now:
guess as root?
Yes. All admin tasks need root perms. Or else normal users could give themselves admin privs whenever they wanted.
I was replying, but this
-
ur where the hell do I add my user to that file lol!
-
CentOS is not a sudo by default OS so you have to set it up here. CentOS assumes that you will use root directly or will set up whatever security you plan to use. NTG scripts this to make it fast and easy along with account creation, key deployment, base packages, etc.
-
@hobbit666 said in What Are You Doing Right Now:
ur where the hell do I add my user to that file lol!
usermod -aG sudo username
will add the user to the sudo group -
@hobbit666 said in What Are You Doing Right Now:
ur where the hell do I add my user to that file lol!
You don't. You enable wheel. Scroll down and look. There are two sample lines about wheel. They are commented out. You uncomment one of them, I prefer the one that has "nopassword". Only unfomment one of them.
After that wheel access works.