Solaris recovery and home: what I miss?

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











up vote
1
down vote

favorite












I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!



So I did



reboot


boot from cd-installation select language and then shell



I import my rpool OK



zpool import -f rpool


I mount my BE



beadm mount -b mybe /mnt


I chroot on /mnt



chroot /mnt /bin/bash


Then I correct the permission and..OK



usermod -u 109 myuser


Now I want to apply on homedir..



chown -R myuser /export/home/myuser


But export/home is empty!



zpool list
zpool status


Report no error.
What I miss?







share|improve this question
























    up vote
    1
    down vote

    favorite












    I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!



    So I did



    reboot


    boot from cd-installation select language and then shell



    I import my rpool OK



    zpool import -f rpool


    I mount my BE



    beadm mount -b mybe /mnt


    I chroot on /mnt



    chroot /mnt /bin/bash


    Then I correct the permission and..OK



    usermod -u 109 myuser


    Now I want to apply on homedir..



    chown -R myuser /export/home/myuser


    But export/home is empty!



    zpool list
    zpool status


    Report no error.
    What I miss?







    share|improve this question






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!



      So I did



      reboot


      boot from cd-installation select language and then shell



      I import my rpool OK



      zpool import -f rpool


      I mount my BE



      beadm mount -b mybe /mnt


      I chroot on /mnt



      chroot /mnt /bin/bash


      Then I correct the permission and..OK



      usermod -u 109 myuser


      Now I want to apply on homedir..



      chown -R myuser /export/home/myuser


      But export/home is empty!



      zpool list
      zpool status


      Report no error.
      What I miss?







      share|improve this question












      I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!



      So I did



      reboot


      boot from cd-installation select language and then shell



      I import my rpool OK



      zpool import -f rpool


      I mount my BE



      beadm mount -b mybe /mnt


      I chroot on /mnt



      chroot /mnt /bin/bash


      Then I correct the permission and..OK



      usermod -u 109 myuser


      Now I want to apply on homedir..



      chown -R myuser /export/home/myuser


      But export/home is empty!



      zpool list
      zpool status


      Report no error.
      What I miss?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 25 at 18:12









      elbarna

      3,80393477




      3,80393477




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Solution found



          zfs set mountpoint=/mnt/export/home export/home

          mount /mnt/export/home


          I made my changes



          chroot /mnt
          chown myuser /export/home/myuser


          then exit,and reset mountpoint



          zfs set mountpoint=/export/home export/home
          beadm umount mybe


          Reboot and works






          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%2f426508%2fsolaris-recovery-and-home-what-i-miss%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










            Solution found



            zfs set mountpoint=/mnt/export/home export/home

            mount /mnt/export/home


            I made my changes



            chroot /mnt
            chown myuser /export/home/myuser


            then exit,and reset mountpoint



            zfs set mountpoint=/export/home export/home
            beadm umount mybe


            Reboot and works






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              Solution found



              zfs set mountpoint=/mnt/export/home export/home

              mount /mnt/export/home


              I made my changes



              chroot /mnt
              chown myuser /export/home/myuser


              then exit,and reset mountpoint



              zfs set mountpoint=/export/home export/home
              beadm umount mybe


              Reboot and works






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Solution found



                zfs set mountpoint=/mnt/export/home export/home

                mount /mnt/export/home


                I made my changes



                chroot /mnt
                chown myuser /export/home/myuser


                then exit,and reset mountpoint



                zfs set mountpoint=/export/home export/home
                beadm umount mybe


                Reboot and works






                share|improve this answer












                Solution found



                zfs set mountpoint=/mnt/export/home export/home

                mount /mnt/export/home


                I made my changes



                chroot /mnt
                chown myuser /export/home/myuser


                then exit,and reset mountpoint



                zfs set mountpoint=/export/home export/home
                beadm umount mybe


                Reboot and works







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 25 at 18:25









                elbarna

                3,80393477




                3,80393477






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426508%2fsolaris-recovery-and-home-what-i-miss%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay