how to sudo over vpn

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I'm running Ubuntu 16.04 with a plain-vanilla install. The server is on a rack in the server room, and I don't have physical access to it. Fortunately openssh was installed on the machine.
Today, I have to install stuff on it, but the only account on the server is the default account ('admin'), and it appears that I'm unable to SSH into the box using the default account because of the ssh config file.
I was able to get someone to go into the server room and add an unpriviliged user ('scott'). I am able to SSH in as this user, but I can't figure out how to get root access.
I tried:
su rootand get Authetication Failuresu adminand get No passwd entry for user 'admin'sudo moduser -aG scottand get scott is not in the sudoers file. This incident will be reported.ssh admin@localhostand get Permission denied, please try again.
Any advice?
ssh sudo vpn
add a comment |Â
up vote
0
down vote
favorite
I'm running Ubuntu 16.04 with a plain-vanilla install. The server is on a rack in the server room, and I don't have physical access to it. Fortunately openssh was installed on the machine.
Today, I have to install stuff on it, but the only account on the server is the default account ('admin'), and it appears that I'm unable to SSH into the box using the default account because of the ssh config file.
I was able to get someone to go into the server room and add an unpriviliged user ('scott'). I am able to SSH in as this user, but I can't figure out how to get root access.
I tried:
su rootand get Authetication Failuresu adminand get No passwd entry for user 'admin'sudo moduser -aG scottand get scott is not in the sudoers file. This incident will be reported.ssh admin@localhostand get Permission denied, please try again.
Any advice?
ssh sudo vpn
3
No. If the user you have access to is unprivileged i.e. has no rights to usesudoto run stuff as root, you can't do anything. There is no way to bypass this security measure without physical access or another, working admin account.
â Byte Commander
Mar 29 at 22:44
Maybe you just got the username "admin" wrong. It does not seem to exist on this system. Are you sure that is the correct name for the privileged account?
â Sebastian Stark
Mar 30 at 0:57
To get a root shell, usesudo -iand type in your user password. See help.ubuntu.com/community/RootSudo and askubuntu.com/questions/24006/â¦
â Panther
Mar 30 at 6:12
@SebastianStark That was the correct answer. The username was Admin (with capital A), but in the passwd file, it was lowercased. When I used the proper case, it worked! Thanks!
â mankowitz
Apr 3 at 15:27
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm running Ubuntu 16.04 with a plain-vanilla install. The server is on a rack in the server room, and I don't have physical access to it. Fortunately openssh was installed on the machine.
Today, I have to install stuff on it, but the only account on the server is the default account ('admin'), and it appears that I'm unable to SSH into the box using the default account because of the ssh config file.
I was able to get someone to go into the server room and add an unpriviliged user ('scott'). I am able to SSH in as this user, but I can't figure out how to get root access.
I tried:
su rootand get Authetication Failuresu adminand get No passwd entry for user 'admin'sudo moduser -aG scottand get scott is not in the sudoers file. This incident will be reported.ssh admin@localhostand get Permission denied, please try again.
Any advice?
ssh sudo vpn
I'm running Ubuntu 16.04 with a plain-vanilla install. The server is on a rack in the server room, and I don't have physical access to it. Fortunately openssh was installed on the machine.
Today, I have to install stuff on it, but the only account on the server is the default account ('admin'), and it appears that I'm unable to SSH into the box using the default account because of the ssh config file.
I was able to get someone to go into the server room and add an unpriviliged user ('scott'). I am able to SSH in as this user, but I can't figure out how to get root access.
I tried:
su rootand get Authetication Failuresu adminand get No passwd entry for user 'admin'sudo moduser -aG scottand get scott is not in the sudoers file. This incident will be reported.ssh admin@localhostand get Permission denied, please try again.
Any advice?
ssh sudo vpn
ssh sudo vpn
asked Mar 29 at 22:35
mankowitz
1011
1011
3
No. If the user you have access to is unprivileged i.e. has no rights to usesudoto run stuff as root, you can't do anything. There is no way to bypass this security measure without physical access or another, working admin account.
â Byte Commander
Mar 29 at 22:44
Maybe you just got the username "admin" wrong. It does not seem to exist on this system. Are you sure that is the correct name for the privileged account?
â Sebastian Stark
Mar 30 at 0:57
To get a root shell, usesudo -iand type in your user password. See help.ubuntu.com/community/RootSudo and askubuntu.com/questions/24006/â¦
â Panther
Mar 30 at 6:12
@SebastianStark That was the correct answer. The username was Admin (with capital A), but in the passwd file, it was lowercased. When I used the proper case, it worked! Thanks!
â mankowitz
Apr 3 at 15:27
add a comment |Â
3
No. If the user you have access to is unprivileged i.e. has no rights to usesudoto run stuff as root, you can't do anything. There is no way to bypass this security measure without physical access or another, working admin account.
â Byte Commander
Mar 29 at 22:44
Maybe you just got the username "admin" wrong. It does not seem to exist on this system. Are you sure that is the correct name for the privileged account?
â Sebastian Stark
Mar 30 at 0:57
To get a root shell, usesudo -iand type in your user password. See help.ubuntu.com/community/RootSudo and askubuntu.com/questions/24006/â¦
â Panther
Mar 30 at 6:12
@SebastianStark That was the correct answer. The username was Admin (with capital A), but in the passwd file, it was lowercased. When I used the proper case, it worked! Thanks!
â mankowitz
Apr 3 at 15:27
3
3
No. If the user you have access to is unprivileged i.e. has no rights to use
sudo to run stuff as root, you can't do anything. There is no way to bypass this security measure without physical access or another, working admin account.â Byte Commander
Mar 29 at 22:44
No. If the user you have access to is unprivileged i.e. has no rights to use
sudo to run stuff as root, you can't do anything. There is no way to bypass this security measure without physical access or another, working admin account.â Byte Commander
Mar 29 at 22:44
Maybe you just got the username "admin" wrong. It does not seem to exist on this system. Are you sure that is the correct name for the privileged account?
â Sebastian Stark
Mar 30 at 0:57
Maybe you just got the username "admin" wrong. It does not seem to exist on this system. Are you sure that is the correct name for the privileged account?
â Sebastian Stark
Mar 30 at 0:57
To get a root shell, use
sudo -i and type in your user password. See help.ubuntu.com/community/RootSudo and askubuntu.com/questions/24006/â¦â Panther
Mar 30 at 6:12
To get a root shell, use
sudo -i and type in your user password. See help.ubuntu.com/community/RootSudo and askubuntu.com/questions/24006/â¦â Panther
Mar 30 at 6:12
@SebastianStark That was the correct answer. The username was Admin (with capital A), but in the passwd file, it was lowercased. When I used the proper case, it worked! Thanks!
â mankowitz
Apr 3 at 15:27
@SebastianStark That was the correct answer. The username was Admin (with capital A), but in the passwd file, it was lowercased. When I used the proper case, it worked! Thanks!
â mankowitz
Apr 3 at 15:27
add a comment |Â
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1020398%2fhow-to-sudo-over-vpn%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
3
No. If the user you have access to is unprivileged i.e. has no rights to use
sudoto run stuff as root, you can't do anything. There is no way to bypass this security measure without physical access or another, working admin account.â Byte Commander
Mar 29 at 22:44
Maybe you just got the username "admin" wrong. It does not seem to exist on this system. Are you sure that is the correct name for the privileged account?
â Sebastian Stark
Mar 30 at 0:57
To get a root shell, use
sudo -iand type in your user password. See help.ubuntu.com/community/RootSudo and askubuntu.com/questions/24006/â¦â Panther
Mar 30 at 6:12
@SebastianStark That was the correct answer. The username was Admin (with capital A), but in the passwd file, it was lowercased. When I used the proper case, it worked! Thanks!
â mankowitz
Apr 3 at 15:27