Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But when I run useradd X, the folder /export/home/X does not get created as expected. (No folder, no .bash_profile or any other expected contents). I have run a find command to see if the folder was created elsewhere, but it hasn't been. However, there is an entry in the /etc/passwd file for user X. I have tried the equivalent on a linux box & it works perfectly. I'm not sure what I am missing for Solaris.
Thanks for the help. Is there somewhere that all these minor differences between Solaris & Linux is documented? I have instructions from people who have worked in Linux but not in Solaris, so all these little issues crop up & they don't have solutions and since I am still learning... I resort to forums, but I hate bothering the forum people with silly questions.
in my opinion some advance users (not all) wont help much about small matter
force ppl go to read eg, google or man page ,why not just give straight command then user can figure out" why is that or like that" one thing i sure is the advance user wont make fool with new user, because if they make they will get reported
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
in my opinion some advance users (not all) wont help much about small matter force ppl go to read eg, google or man page ,why not just give straight command then user can figure out" why is that or like that"
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. (chinese proverb)
" Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. (chinese proverb)"
now here i agree 200% with u as u said . that y , i teach him the command and let him do himself and not me do for him on his computer or server
so if any advance users feel they are good or ego with that , remove it , its not good for communittee
and if that person , any command they proceed / tell / help users kindly explain if posible
Perhaps are you missing the useradd option that asks for the user's homedir creation ?
man useradd
Hi,
I just want to state that jlliagre advice as quoted was extremely helpful because I hadn't realised how different Solaris and Linux are until then. So being sent to the man pages showed me that, I always feel being given a direction is better than being given the answer. As in I may not know something because I don't know where to look, but once I have a place to look I can figure it out for myself which is extremely satisfying.
Thanks for all the responses though, it is appreciated.
You gentlemen need to learn how to cheat!!
Solaris (if you have X running) has a program called admintool. With this you can do all the user admin with ease and it will prompt when you don't do something correctly. (most of the time).
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
admintool is deprecated in Solaris 10, and no more in Solaris Express.
If you insist using a GUI, there is something called smc that is some kind of admintool replacement.
admintool is deprecated in Solaris 10, and no more in Solaris Express.
If you insist using a GUI, there is something called smc that is some kind of admintool replacement.
What System Admin would use a GUI when there is a perfectly good command line available?
After 15 years of being beaten about the head by NT (which I think stands for Neanderthal Technology) people I sometimes stoop to their level and use it.
The last two store settings in /etc/shadow which force the user to change his password every 2 weeks, keep the new one for 7 days, and locks the account on 12/31
of the current year. -f 31 locks the account after 31 days of inactivity.
I am not saying to do do, you just wanted to learn other options. Hope they help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.