how to sudo over vpn

The name of the pictureThe name of the pictureThe name of the pictureClash 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:




  1. su root and get Authetication Failure


  2. su admin and get No passwd entry for user 'admin'


  3. sudo moduser -aG scott and get scott is not in the sudoers file. This incident will be reported.


  4. ssh admin@localhost and get Permission denied, please try again.

Any advice?










share|improve this question

















  • 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










  • 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










  • @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














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:




  1. su root and get Authetication Failure


  2. su admin and get No passwd entry for user 'admin'


  3. sudo moduser -aG scott and get scott is not in the sudoers file. This incident will be reported.


  4. ssh admin@localhost and get Permission denied, please try again.

Any advice?










share|improve this question

















  • 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










  • 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










  • @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












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:




  1. su root and get Authetication Failure


  2. su admin and get No passwd entry for user 'admin'


  3. sudo moduser -aG scott and get scott is not in the sudoers file. This incident will be reported.


  4. ssh admin@localhost and get Permission denied, please try again.

Any advice?










share|improve this question













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:




  1. su root and get Authetication Failure


  2. su admin and get No passwd entry for user 'admin'


  3. sudo moduser -aG scott and get scott is not in the sudoers file. This incident will be reported.


  4. ssh admin@localhost and get Permission denied, please try again.

Any advice?







ssh sudo vpn






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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










  • 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












  • 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










  • 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










  • @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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?