curiouswebster
asked on
Adding User to Ubuntu
Adding User to Ubuntu
I need a user that I can use when I do not want to risk doing damage to my Ubuntu installation.
So, I ran
sudo su
then ran
adduser curiouswebster
following these instructions,
https://www.digitalocean.c om/communi ty/tutoria ls/initial -server-se tup-with-u buntu-18-0 4
is ran
usermod -aG sudo curiouswebster
but doesn't this add root privileges for curiouswebster??
If so, please help me downgrade the permissions.
I was hoping to log in as curiouswebster and install various systems, like Apache, MySQL, PHP and WordPress.
Shouldn't I use root for this?
Also, how do I log in as curiouswebster?
Thanks
I need a user that I can use when I do not want to risk doing damage to my Ubuntu installation.
So, I ran
sudo su
then ran
adduser curiouswebster
following these instructions,
https://www.digitalocean.c
is ran
usermod -aG sudo curiouswebster
but doesn't this add root privileges for curiouswebster??
If so, please help me downgrade the permissions.
I was hoping to log in as curiouswebster and install various systems, like Apache, MySQL, PHP and WordPress.
Shouldn't I use root for this?
Also, how do I log in as curiouswebster?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you mean,
su -root?
su -root?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What does this mean "You only specify the user to jail if you need it"?
And what is nagios?
And what is nagios?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Does the term "user to jail" come from the ides that a user is being checked to see if, with his permissions, he had the permission to do something bad on the system?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A true "Jail" is a very specific construct.
This relates to using chroot, LXD, Docker or several other mechanisms to ensure a specific user or set of users only have access to the Jailed runtime environment. This blocks access to machine level files + facilities, also other container access is blocked.
Best to open another question about Jails, as answers can be long.
This relates to using chroot, LXD, Docker or several other mechanisms to ensure a specific user or set of users only have access to the Jailed runtime environment. This blocks access to machine level files + facilities, also other container access is blocked.
Best to open another question about Jails, as answers can be long.
ASKER
But, I have one final question on sudo.
you said, using "sudo su" was redundant.
I see that sudo -I makes these permissions easier to NOT switch cart blanch to high privileges. Thanks.
But, when I want to turn root privileges ON for the session, what's the best sudo command?
Thanks