I need help understanding the difference between user âpiâ and root
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I bought a raspberry pi so that I can learn Linux, but I'm confused with the users.
Is pi
the main user or admin? Or is pi
and root
the same user?
users raspberry-pi raspbian
add a comment |Â
up vote
0
down vote
favorite
I bought a raspberry pi so that I can learn Linux, but I'm confused with the users.
Is pi
the main user or admin? Or is pi
and root
the same user?
users raspberry-pi raspbian
1
I think you want to read this : unix.stackexchange.com/q/291454/53092
â Kiwy
Jun 21 at 11:39
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I bought a raspberry pi so that I can learn Linux, but I'm confused with the users.
Is pi
the main user or admin? Or is pi
and root
the same user?
users raspberry-pi raspbian
I bought a raspberry pi so that I can learn Linux, but I'm confused with the users.
Is pi
the main user or admin? Or is pi
and root
the same user?
users raspberry-pi raspbian
edited Jun 21 at 11:37
Jeff Schaller
30.8k846104
30.8k846104
asked Jun 21 at 10:47
Eric
12
12
1
I think you want to read this : unix.stackexchange.com/q/291454/53092
â Kiwy
Jun 21 at 11:39
add a comment |Â
1
I think you want to read this : unix.stackexchange.com/q/291454/53092
â Kiwy
Jun 21 at 11:39
1
1
I think you want to read this : unix.stackexchange.com/q/291454/53092
â Kiwy
Jun 21 at 11:39
I think you want to read this : unix.stackexchange.com/q/291454/53092
â Kiwy
Jun 21 at 11:39
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
In Linux, you have 2 types of users - the root user (administrative user) and all the other users on the system. (slight over simplification)
On a Rasbian system, the pi user is Just A User.
However, that user is a member of a group that allows them to use the sudo
utility to run commands as if they were the root user.
add a comment |Â
up vote
1
down vote
They are two different individuals. root
is a common Linux and Unix super-privileged person, who can do anything on the system. pi
is a default account created by Raspbian installer. Such an account, though it may be named differently and might behave differently on differents OSs, is usually created by all Linux installers. It will usually be somehow able to gain root powers. The logic here is that as few things as possible should be done as root, as little time as possible spent as root, and as few root sessions should be open. Thus you can use either su
or sudo
to elevate your pi
user for certain tasks. See man su
and man sudo
for a good start.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
In Linux, you have 2 types of users - the root user (administrative user) and all the other users on the system. (slight over simplification)
On a Rasbian system, the pi user is Just A User.
However, that user is a member of a group that allows them to use the sudo
utility to run commands as if they were the root user.
add a comment |Â
up vote
3
down vote
In Linux, you have 2 types of users - the root user (administrative user) and all the other users on the system. (slight over simplification)
On a Rasbian system, the pi user is Just A User.
However, that user is a member of a group that allows them to use the sudo
utility to run commands as if they were the root user.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
In Linux, you have 2 types of users - the root user (administrative user) and all the other users on the system. (slight over simplification)
On a Rasbian system, the pi user is Just A User.
However, that user is a member of a group that allows them to use the sudo
utility to run commands as if they were the root user.
In Linux, you have 2 types of users - the root user (administrative user) and all the other users on the system. (slight over simplification)
On a Rasbian system, the pi user is Just A User.
However, that user is a member of a group that allows them to use the sudo
utility to run commands as if they were the root user.
answered Jun 21 at 11:40
ivanivan
3,1271213
3,1271213
add a comment |Â
add a comment |Â
up vote
1
down vote
They are two different individuals. root
is a common Linux and Unix super-privileged person, who can do anything on the system. pi
is a default account created by Raspbian installer. Such an account, though it may be named differently and might behave differently on differents OSs, is usually created by all Linux installers. It will usually be somehow able to gain root powers. The logic here is that as few things as possible should be done as root, as little time as possible spent as root, and as few root sessions should be open. Thus you can use either su
or sudo
to elevate your pi
user for certain tasks. See man su
and man sudo
for a good start.
add a comment |Â
up vote
1
down vote
They are two different individuals. root
is a common Linux and Unix super-privileged person, who can do anything on the system. pi
is a default account created by Raspbian installer. Such an account, though it may be named differently and might behave differently on differents OSs, is usually created by all Linux installers. It will usually be somehow able to gain root powers. The logic here is that as few things as possible should be done as root, as little time as possible spent as root, and as few root sessions should be open. Thus you can use either su
or sudo
to elevate your pi
user for certain tasks. See man su
and man sudo
for a good start.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
They are two different individuals. root
is a common Linux and Unix super-privileged person, who can do anything on the system. pi
is a default account created by Raspbian installer. Such an account, though it may be named differently and might behave differently on differents OSs, is usually created by all Linux installers. It will usually be somehow able to gain root powers. The logic here is that as few things as possible should be done as root, as little time as possible spent as root, and as few root sessions should be open. Thus you can use either su
or sudo
to elevate your pi
user for certain tasks. See man su
and man sudo
for a good start.
They are two different individuals. root
is a common Linux and Unix super-privileged person, who can do anything on the system. pi
is a default account created by Raspbian installer. Such an account, though it may be named differently and might behave differently on differents OSs, is usually created by all Linux installers. It will usually be somehow able to gain root powers. The logic here is that as few things as possible should be done as root, as little time as possible spent as root, and as few root sessions should be open. Thus you can use either su
or sudo
to elevate your pi
user for certain tasks. See man su
and man sudo
for a good start.
answered Jun 21 at 11:40
Tomasz
8,01552560
8,01552560
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451065%2fi-need-help-understanding-the-difference-between-user-pi-and-root%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
I think you want to read this : unix.stackexchange.com/q/291454/53092
â Kiwy
Jun 21 at 11:39