Stuck on Immersivelab SUDO The 2019 Stack Overflow Developer Survey Results Are In ...

What's the point in a preamp?

Are my PIs rude or am I just being too sensitive?

Why can't devices on different VLANs, but on the same subnet, communicate?

Is this wall load bearing? Blueprints and photos attached

Does Parliament hold absolute power in the UK?

How to copy the contents of all files with a certain name into a new file?

How many people can fit inside Mordenkainen's Magnificent Mansion?

Did the new image of black hole confirm the general theory of relativity?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Why did all the guest students take carriages to the Yule Ball?

Typeface like Times New Roman but with "tied" percent sign

What information about me do stores get via my credit card?

Can a novice safely splice in wire to lengthen 5V charging cable?

"... to apply for a visa" or "... and applied for a visa"?

What LEGO pieces have "real-world" functionality?

Can withdrawing asylum be illegal?

How do you keep chess fun when your opponent constantly beats you?

Python - Fishing Simulator

Was credit for the black hole image misattributed?

Problems with Ubuntu mount /tmp

Working through the single responsibility principle (SRP) in Python when calls are expensive

Mortgage adviser recommends a longer term than necessary combined with overpayments

How is simplicity better than precision and clarity in prose?

I could not break this equation. Please help me



Stuck on Immersivelab SUDO



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Make Regular User automatically Root on Ubuntu (i.e., make Ubuntu behave like Windows XP)sudo -k vs. sudo -KHow to access files in var?Sudo and file permissionsSudo works as suLinux editing remotely mounted filesAllow unprivileged user access to specific privileged filesUnable to Access Files Despite Being Root User on Ubuntu Serversudo access a file without sudo passwordSudo confirmation prompt





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I have a lab to complete that requires the following:



Become the ‘pseudo’ user, using the previously discovered password. What is the token contained in the file /root/token.txt?



I have completed the first part and become user pseudo.

The second part I am stuck on, whenever I try to access the root folder I get:




pseudo@sudo:/$ cd /root//token.txt

bash: cd: /root//token.txt: Permission denied

pseudo@sudo:/$




I know I am doing something obviously wrong and have got to the stage of not being able to see the wood for the trees, but any advice would be gratefully received.










share|improve this question

























  • Pseudo-user, not being root, obviously can't access the /root folder. Maybe you should try it with sudo? Since this is a lab/homework question, you should ask for your teacher/tutor for help.

    – Aulis Ronkainen
    Jan 27 at 19:43











  • unfortunately its an online lab only so no tutor. I'll keep trying

    – steve
    Jan 27 at 20:11








  • 3





    Are you trying to cd to a file? Anyway, maybe this particular user can use sudo to read the file this way (sudo cat /root/token.txt).

    – Kamil Maciorowski
    Jan 28 at 8:21


















1















I have a lab to complete that requires the following:



Become the ‘pseudo’ user, using the previously discovered password. What is the token contained in the file /root/token.txt?



I have completed the first part and become user pseudo.

The second part I am stuck on, whenever I try to access the root folder I get:




pseudo@sudo:/$ cd /root//token.txt

bash: cd: /root//token.txt: Permission denied

pseudo@sudo:/$




I know I am doing something obviously wrong and have got to the stage of not being able to see the wood for the trees, but any advice would be gratefully received.










share|improve this question

























  • Pseudo-user, not being root, obviously can't access the /root folder. Maybe you should try it with sudo? Since this is a lab/homework question, you should ask for your teacher/tutor for help.

    – Aulis Ronkainen
    Jan 27 at 19:43











  • unfortunately its an online lab only so no tutor. I'll keep trying

    – steve
    Jan 27 at 20:11








  • 3





    Are you trying to cd to a file? Anyway, maybe this particular user can use sudo to read the file this way (sudo cat /root/token.txt).

    – Kamil Maciorowski
    Jan 28 at 8:21














1












1








1








I have a lab to complete that requires the following:



Become the ‘pseudo’ user, using the previously discovered password. What is the token contained in the file /root/token.txt?



I have completed the first part and become user pseudo.

The second part I am stuck on, whenever I try to access the root folder I get:




pseudo@sudo:/$ cd /root//token.txt

bash: cd: /root//token.txt: Permission denied

pseudo@sudo:/$




I know I am doing something obviously wrong and have got to the stage of not being able to see the wood for the trees, but any advice would be gratefully received.










share|improve this question
















I have a lab to complete that requires the following:



Become the ‘pseudo’ user, using the previously discovered password. What is the token contained in the file /root/token.txt?



I have completed the first part and become user pseudo.

The second part I am stuck on, whenever I try to access the root folder I get:




pseudo@sudo:/$ cd /root//token.txt

bash: cd: /root//token.txt: Permission denied

pseudo@sudo:/$




I know I am doing something obviously wrong and have got to the stage of not being able to see the wood for the trees, but any advice would be gratefully received.







linux sudo






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 27 at 20:46









zx485

1,4372914




1,4372914










asked Jan 27 at 19:06









stevesteve

61




61













  • Pseudo-user, not being root, obviously can't access the /root folder. Maybe you should try it with sudo? Since this is a lab/homework question, you should ask for your teacher/tutor for help.

    – Aulis Ronkainen
    Jan 27 at 19:43











  • unfortunately its an online lab only so no tutor. I'll keep trying

    – steve
    Jan 27 at 20:11








  • 3





    Are you trying to cd to a file? Anyway, maybe this particular user can use sudo to read the file this way (sudo cat /root/token.txt).

    – Kamil Maciorowski
    Jan 28 at 8:21



















  • Pseudo-user, not being root, obviously can't access the /root folder. Maybe you should try it with sudo? Since this is a lab/homework question, you should ask for your teacher/tutor for help.

    – Aulis Ronkainen
    Jan 27 at 19:43











  • unfortunately its an online lab only so no tutor. I'll keep trying

    – steve
    Jan 27 at 20:11








  • 3





    Are you trying to cd to a file? Anyway, maybe this particular user can use sudo to read the file this way (sudo cat /root/token.txt).

    – Kamil Maciorowski
    Jan 28 at 8:21

















Pseudo-user, not being root, obviously can't access the /root folder. Maybe you should try it with sudo? Since this is a lab/homework question, you should ask for your teacher/tutor for help.

– Aulis Ronkainen
Jan 27 at 19:43





Pseudo-user, not being root, obviously can't access the /root folder. Maybe you should try it with sudo? Since this is a lab/homework question, you should ask for your teacher/tutor for help.

– Aulis Ronkainen
Jan 27 at 19:43













unfortunately its an online lab only so no tutor. I'll keep trying

– steve
Jan 27 at 20:11







unfortunately its an online lab only so no tutor. I'll keep trying

– steve
Jan 27 at 20:11






3




3





Are you trying to cd to a file? Anyway, maybe this particular user can use sudo to read the file this way (sudo cat /root/token.txt).

– Kamil Maciorowski
Jan 28 at 8:21





Are you trying to cd to a file? Anyway, maybe this particular user can use sudo to read the file this way (sudo cat /root/token.txt).

– Kamil Maciorowski
Jan 28 at 8:21










1 Answer
1






active

oldest

votes


















0














Try this way (if you finished first part)




  • Switch on Pseudo user account (command: su pseudo) - Password obtained in first part of this lab is needed


  • Use any text editor to find token value (command: sudo vi /root/token.txt)







share|improve this answer








New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399007%2fstuck-on-immersivelab-sudo%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try this way (if you finished first part)




    • Switch on Pseudo user account (command: su pseudo) - Password obtained in first part of this lab is needed


    • Use any text editor to find token value (command: sudo vi /root/token.txt)







    share|improve this answer








    New contributor




    Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Try this way (if you finished first part)




      • Switch on Pseudo user account (command: su pseudo) - Password obtained in first part of this lab is needed


      • Use any text editor to find token value (command: sudo vi /root/token.txt)







      share|improve this answer








      New contributor




      Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Try this way (if you finished first part)




        • Switch on Pseudo user account (command: su pseudo) - Password obtained in first part of this lab is needed


        • Use any text editor to find token value (command: sudo vi /root/token.txt)







        share|improve this answer








        New contributor




        Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Try this way (if you finished first part)




        • Switch on Pseudo user account (command: su pseudo) - Password obtained in first part of this lab is needed


        • Use any text editor to find token value (command: sudo vi /root/token.txt)








        share|improve this answer








        New contributor




        Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered yesterday









        AdamAdam

        1




        1




        New contributor




        Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399007%2fstuck-on-immersivelab-sudo%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

            VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

            Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...