Vagrant in Mac Terminal
up vote
0
down vote
favorite
I installed CentOS vagrant on virtual box through terminal. Is there any command that I can directly switch user to vagrant from terminal?
vagrant
|
show 3 more comments
up vote
0
down vote
favorite
I installed CentOS vagrant on virtual box through terminal. Is there any command that I can directly switch user to vagrant from terminal?
vagrant
When you are on a shell of the virtual machine, you would do it the same way you switch users in any suchlike environment:su vagrant
.
– DopeGhoti
Jun 6 '17 at 15:59
Hi Dope, It says "Sorry"
– Yash
Jun 6 '17 at 16:06
2
At least it's polite, but is that literally the entirety of what you get as a response to that command?
– DopeGhoti
Jun 6 '17 at 16:07
su vagrant Password: su: Sorry
– Yash
Jun 6 '17 at 16:09
This indicates you are not using the correct password for thevagrant
user.
– DopeGhoti
Jun 6 '17 at 16:11
|
show 3 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed CentOS vagrant on virtual box through terminal. Is there any command that I can directly switch user to vagrant from terminal?
vagrant
I installed CentOS vagrant on virtual box through terminal. Is there any command that I can directly switch user to vagrant from terminal?
vagrant
vagrant
edited Nov 25 at 15:10
Rui F Ribeiro
38.3k1475126
38.3k1475126
asked Jun 6 '17 at 15:57
Yash
613
613
When you are on a shell of the virtual machine, you would do it the same way you switch users in any suchlike environment:su vagrant
.
– DopeGhoti
Jun 6 '17 at 15:59
Hi Dope, It says "Sorry"
– Yash
Jun 6 '17 at 16:06
2
At least it's polite, but is that literally the entirety of what you get as a response to that command?
– DopeGhoti
Jun 6 '17 at 16:07
su vagrant Password: su: Sorry
– Yash
Jun 6 '17 at 16:09
This indicates you are not using the correct password for thevagrant
user.
– DopeGhoti
Jun 6 '17 at 16:11
|
show 3 more comments
When you are on a shell of the virtual machine, you would do it the same way you switch users in any suchlike environment:su vagrant
.
– DopeGhoti
Jun 6 '17 at 15:59
Hi Dope, It says "Sorry"
– Yash
Jun 6 '17 at 16:06
2
At least it's polite, but is that literally the entirety of what you get as a response to that command?
– DopeGhoti
Jun 6 '17 at 16:07
su vagrant Password: su: Sorry
– Yash
Jun 6 '17 at 16:09
This indicates you are not using the correct password for thevagrant
user.
– DopeGhoti
Jun 6 '17 at 16:11
When you are on a shell of the virtual machine, you would do it the same way you switch users in any suchlike environment:
su vagrant
.– DopeGhoti
Jun 6 '17 at 15:59
When you are on a shell of the virtual machine, you would do it the same way you switch users in any suchlike environment:
su vagrant
.– DopeGhoti
Jun 6 '17 at 15:59
Hi Dope, It says "Sorry"
– Yash
Jun 6 '17 at 16:06
Hi Dope, It says "Sorry"
– Yash
Jun 6 '17 at 16:06
2
2
At least it's polite, but is that literally the entirety of what you get as a response to that command?
– DopeGhoti
Jun 6 '17 at 16:07
At least it's polite, but is that literally the entirety of what you get as a response to that command?
– DopeGhoti
Jun 6 '17 at 16:07
su vagrant Password: su: Sorry
– Yash
Jun 6 '17 at 16:09
su vagrant Password: su: Sorry
– Yash
Jun 6 '17 at 16:09
This indicates you are not using the correct password for the
vagrant
user.– DopeGhoti
Jun 6 '17 at 16:11
This indicates you are not using the correct password for the
vagrant
user.– DopeGhoti
Jun 6 '17 at 16:11
|
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f369545%2fvagrant-in-mac-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
When you are on a shell of the virtual machine, you would do it the same way you switch users in any suchlike environment:
su vagrant
.– DopeGhoti
Jun 6 '17 at 15:59
Hi Dope, It says "Sorry"
– Yash
Jun 6 '17 at 16:06
2
At least it's polite, but is that literally the entirety of what you get as a response to that command?
– DopeGhoti
Jun 6 '17 at 16:07
su vagrant Password: su: Sorry
– Yash
Jun 6 '17 at 16:09
This indicates you are not using the correct password for the
vagrant
user.– DopeGhoti
Jun 6 '17 at 16:11