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.
I installed Solaris 10 under my VMWare Workstation 5.5without problem.
But ...
I changed shell from sh to ksh and bash at the end, since I hate sh, but nothing happened. They all feel same and do not behave same way as they do on FreeNSD or Linux.
Basicaly ... no history ... cannot modify command and things like those.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by zivota
I couldn't find chsh so I edited /etc/passwd, logoff and login back.
That's okay.
Quote:
#echo $SHELL
/usr/bin/ksh
... but it responds as bourne shell.
ksh is upward compatible with the Bourne shell, so this is no surprise.
Use "set -o vi" or "set -o emacs" to activate command editing functionality.
Alternatively, you can use /bin/bash or /bin/zsh if you expect the arrows keys to work.
That solved another long standing problem I've had... I had a user setup to use csh instead of bash. Unfortunately, with SSGD, csh users get weird screen artifacts (part of the language switching utility). I haven't been able to switch his shell due to the fact that SMC is broken (courtesy of some Sun patch), usermod is broken (courtesy of yet another Sun patch), and vipw is giving funky errors (unknown reason). Now I know a fourth way to change the shell, and it works!
I can't install 120051-05 since it requires a reboot... The server is a little on the flaky side (and it's a mission-critical server). Rebooting is rolling the dice and taking a chance on data loss (it likes to blow up while booting sometimes). I'm working with Sun support on it (it's a v20z, insert my standard anti-AMD and pro-SPARC, for mission-critical servers, rant here :-) ), but no solutions from them yet.
vipw gives me "ptmp broken" or some such thing when I try to use it. I can get in, but get the error when quitting/saving, even if I don't actually change anything!
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by Dox Systems - Brian
(it's a v20z, insert my standard anti-AMD and pro-SPARC, for mission-critical servers, rant here :-) )
Actually, this bug is unrelated to the architecture, so would have hit a SPARC based server the same way.
Hmm, you have a mission critical server without a back-up solution ?
Quote:
vipw gives me "ptmp broken" or some such thing when I try to use it. I can get in, but get the error when quitting/saving, even if I don't actually change anything!
My guess is someone made a modification that upset the good old BSD vipw, like root's homedir not being / ...
Actually, this bug is unrelated to the architecture, so would have hit a SPARC based server the same way.
Hmm, you have a mission critical server without a back-up solution ?
My guess is someone made a modification that upset the good old BSD vipw, like root's homedir not being / ...
I'm not referring to that software bug, but my overall historically poor experience with AMD based systems and crashing problems.
The mission critical server has a fairly robust data backup plan. Unfortunately, we have to accept a little potential downtime and rely on Sun service in the case of a major failure. There's just no money available to run redundant servers. The last time it crashed and we had "data loss", none of *our* data was lost, but the "data loss" was that SSGD got mangled and had to be rebuilt.
That's exactly the error that vipw is giving, but it's wrong... Root's homedir *is* /, but it's complaining that it isn't :-/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.