Adding a user with disabled password and loginRBAC user cannot execute useradd on Solaris 10Disable null...

Too many spies!

Possible isometry groups of open manifolds

How did Southern slaveholders in the United States relate to the Caribbean and Latin America?

Mistakenly modified `/bin/sh'

Meaning of slash chord without anything left of the slash

Can a pizza stone be fixed after soap has been used to clean it?

Deep Learning based time series forecasting

Nested-Loop-Join: How many comparisons and how many pages-accesses?

Will it hurt my career to work as a graphic designer in a startup for beauty and skin care?

How to fit a linear model in the Bayesian way in Mathematica?

Align by center of symbol

Doing research in academia and not liking competition

Did the Shuttle's rudder or elevons operate when flown on its carrier 747?

Can someone explain this logical statement?

What is the closed form of the following recursive function?

Why linear regression uses "vertical" distance to the best-fit-line, instead of actual distance?

Is this more than a packing puzzle?

(algebraic topology) question about the cellular approximation theorem

Would letting a multiclass character rebuild their character to be single-classed be game-breaking?

Filtering fine silt/mud from water (not necessarily bacteria etc.)

Getting fresh water in the middle of hypersaline lake in the Bronze Age

Can I activate an iPhone without an Apple ID?

Why do mean value theorems have open interval for differentiablity while closed for continuity m

Adding a vertical line at the right end of the horizontal line in frac



Adding a user with disabled password and login


RBAC user cannot execute useradd on Solaris 10Disable null password for root user on Sunsolaris machine?“/usr/lib/passmgmt: Password file(s) busy. Try again later” in Solaris 11Solaris let me in with different password with the same 8 first charactersrpcinfo shows service running while it is disabledWhat is OS apix module?How to set password for a user using hash in /etc/shadow on SolarisSolaris 11 ipfilter service stops on physical link downDeleted password under Solaris 11Reset net-snmp? I've forgotten the initial user password






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















How do I add a user similar to this in Solaris (disable password, login and no home page) for service account.



adduser --system --ingroup group-name --disabled-password --disabled-login -no-create-home user-name









share|improve this question





























    0















    How do I add a user similar to this in Solaris (disable password, login and no home page) for service account.



    adduser --system --ingroup group-name --disabled-password --disabled-login -no-create-home user-name









    share|improve this question

























      0












      0








      0








      How do I add a user similar to this in Solaris (disable password, login and no home page) for service account.



      adduser --system --ingroup group-name --disabled-password --disabled-login -no-create-home user-name









      share|improve this question














      How do I add a user similar to this in Solaris (disable password, login and no home page) for service account.



      adduser --system --ingroup group-name --disabled-password --disabled-login -no-create-home user-name






      solaris






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 29 mins ago









      BoomRamadaBoomRamada

      82 bronze badges




      82 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          "adduser" is typically a Linux thing, but if you look at the other Shadow utils -- passwd, useradd, usermod -- they should be similar enough. Shadow (what's in Linux ...) was based on SVR1, which is what I had access to when I started writing it in 1987. "useradd" needs the "-m" option to handle the home directory, so don't supply that. And "passwd -l" locks the password by inserting an invalid character in the password field.



          What you want to avoid is "chage" since that's something I made up. Even if it is a handy something.





          share


























            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f530172%2fadding-a-user-with-disabled-password-and-login%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














            "adduser" is typically a Linux thing, but if you look at the other Shadow utils -- passwd, useradd, usermod -- they should be similar enough. Shadow (what's in Linux ...) was based on SVR1, which is what I had access to when I started writing it in 1987. "useradd" needs the "-m" option to handle the home directory, so don't supply that. And "passwd -l" locks the password by inserting an invalid character in the password field.



            What you want to avoid is "chage" since that's something I made up. Even if it is a handy something.





            share




























              0














              "adduser" is typically a Linux thing, but if you look at the other Shadow utils -- passwd, useradd, usermod -- they should be similar enough. Shadow (what's in Linux ...) was based on SVR1, which is what I had access to when I started writing it in 1987. "useradd" needs the "-m" option to handle the home directory, so don't supply that. And "passwd -l" locks the password by inserting an invalid character in the password field.



              What you want to avoid is "chage" since that's something I made up. Even if it is a handy something.





              share


























                0












                0








                0







                "adduser" is typically a Linux thing, but if you look at the other Shadow utils -- passwd, useradd, usermod -- they should be similar enough. Shadow (what's in Linux ...) was based on SVR1, which is what I had access to when I started writing it in 1987. "useradd" needs the "-m" option to handle the home directory, so don't supply that. And "passwd -l" locks the password by inserting an invalid character in the password field.



                What you want to avoid is "chage" since that's something I made up. Even if it is a handy something.





                share













                "adduser" is typically a Linux thing, but if you look at the other Shadow utils -- passwd, useradd, usermod -- they should be similar enough. Shadow (what's in Linux ...) was based on SVR1, which is what I had access to when I started writing it in 1987. "useradd" needs the "-m" option to handle the home directory, so don't supply that. And "passwd -l" locks the password by inserting an invalid character in the password field.



                What you want to avoid is "chage" since that's something I made up. Even if it is a handy something.






                share











                share


                share










                answered 6 mins ago









                Julie in AustinJulie in Austin

                1012 bronze badges




                1012 bronze badges






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f530172%2fadding-a-user-with-disabled-password-and-login%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

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...