change the executable JAR file permissions accordingly:

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I've created a user using sudo useradd -m peris, then I want to change an executable JAR file permissions, but I got an error:



$ sudo chmod 500 menu-prices-update-0.0.1-SNAPSHOT.jar
[sudo] password for peris:
peris is not in the sudoers file. This incident will be reported.






share|improve this question





















  • You will need to set the user up with the command "visudo"
    – Raman Sailopal
    Jul 20 at 12:15
















up vote
1
down vote

favorite












I've created a user using sudo useradd -m peris, then I want to change an executable JAR file permissions, but I got an error:



$ sudo chmod 500 menu-prices-update-0.0.1-SNAPSHOT.jar
[sudo] password for peris:
peris is not in the sudoers file. This incident will be reported.






share|improve this question





















  • You will need to set the user up with the command "visudo"
    – Raman Sailopal
    Jul 20 at 12:15












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I've created a user using sudo useradd -m peris, then I want to change an executable JAR file permissions, but I got an error:



$ sudo chmod 500 menu-prices-update-0.0.1-SNAPSHOT.jar
[sudo] password for peris:
peris is not in the sudoers file. This incident will be reported.






share|improve this question













I've created a user using sudo useradd -m peris, then I want to change an executable JAR file permissions, but I got an error:



$ sudo chmod 500 menu-prices-update-0.0.1-SNAPSHOT.jar
[sudo] password for peris:
peris is not in the sudoers file. This incident will be reported.








share|improve this question












share|improve this question




share|improve this question








edited Jul 20 at 12:46









Jeff Schaller

30.8k846104




30.8k846104









asked Jul 20 at 12:13









en Peris

545




545











  • You will need to set the user up with the command "visudo"
    – Raman Sailopal
    Jul 20 at 12:15
















  • You will need to set the user up with the command "visudo"
    – Raman Sailopal
    Jul 20 at 12:15















You will need to set the user up with the command "visudo"
– Raman Sailopal
Jul 20 at 12:15




You will need to set the user up with the command "visudo"
– Raman Sailopal
Jul 20 at 12:15










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










You need to edit the /etc/sudoers and add the user peris into it. Either open the file with your favorite edit, for example vim:



$ sudo vim /etc/sudoers


and add the user there under root ALL=(ALL:ALL) ALL with the same syntax:



peris ALL=(ALL:ALL) ALL


Or just edit it via the command visudo. NOTE: You must do this with root privileges, i.e. sudo.






share|improve this answer























    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f457432%2fchange-the-executable-jar-file-permissions-accordingly%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    You need to edit the /etc/sudoers and add the user peris into it. Either open the file with your favorite edit, for example vim:



    $ sudo vim /etc/sudoers


    and add the user there under root ALL=(ALL:ALL) ALL with the same syntax:



    peris ALL=(ALL:ALL) ALL


    Or just edit it via the command visudo. NOTE: You must do this with root privileges, i.e. sudo.






    share|improve this answer



























      up vote
      1
      down vote



      accepted










      You need to edit the /etc/sudoers and add the user peris into it. Either open the file with your favorite edit, for example vim:



      $ sudo vim /etc/sudoers


      and add the user there under root ALL=(ALL:ALL) ALL with the same syntax:



      peris ALL=(ALL:ALL) ALL


      Or just edit it via the command visudo. NOTE: You must do this with root privileges, i.e. sudo.






      share|improve this answer

























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        You need to edit the /etc/sudoers and add the user peris into it. Either open the file with your favorite edit, for example vim:



        $ sudo vim /etc/sudoers


        and add the user there under root ALL=(ALL:ALL) ALL with the same syntax:



        peris ALL=(ALL:ALL) ALL


        Or just edit it via the command visudo. NOTE: You must do this with root privileges, i.e. sudo.






        share|improve this answer















        You need to edit the /etc/sudoers and add the user peris into it. Either open the file with your favorite edit, for example vim:



        $ sudo vim /etc/sudoers


        and add the user there under root ALL=(ALL:ALL) ALL with the same syntax:



        peris ALL=(ALL:ALL) ALL


        Or just edit it via the command visudo. NOTE: You must do this with root privileges, i.e. sudo.







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jul 25 at 2:12









        slm♦

        232k65479649




        232k65479649











        answered Jul 20 at 13:10









        Fanatique

        788




        788






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457432%2fchange-the-executable-jar-file-permissions-accordingly%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)