Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
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.
Well I got Solaris installed this morning and I have been playing with it for a little while but I need to know a little bit more.
First my mouse Wheel isn't working and it's very annoying. In Linux you would modify the xorg.conf in /etc/X11. I went to /etc/X11/ but there wasn't really anything in there that I can modify so if somebody know how or where I have to go to do this, that would be great.
Next, I am looking for some kind of GUI program to add users and that kinda of stuff. I looked around and noticed some people mentions SMC and ADMINTOOL. I looked around on my computer for that but can't find anything so again if somebody could help me, that would be great.
Is the default home directory for new users /export/home in Solaris because I know with Linu it's /home/
Well so far everything seems to be going good ok. I can do alot of stuff because it's similar to linux. I am using Gnome after trying the other window manger and this one is much much easier.
Also 1 other thing. Anybody know a good site to download software from and is there an apt-get type program for Solaris to update it?
In linux when you are working with the command line and you have some of a command down, you can hit "tab" to finish the command. Is there any way of doing that with Solaris?
Under Solaris, Xorg is using the xorg.conf file if it find one, if it doesn't it creates a configuration from what was set to Xsun.
Run kdmconfig to get instructions on how to build a custom xorg file if you want to.
Quote:
I looked around on my computer for that but can't find anything so again if somebody could help me, that would be great.
What is the problem you have with smc ? you do not find it ? is "man smc" of any help ?
Quote:
Is the default home directory for new users /export/home in Solaris because I know with Linu it's /home/
Look in this forum for it, this has already been answered a couple of times.
Quote:
Anybody know a good site to download software from and is there an apt-get type program for Solaris to update it?
blastwave is doing just that with pkg-get. Sunfreeware have it too.
Quote:
In linux when you are working with the command line and you have some of a command down, you can hit "tab" to finish the command. Is there any way of doing that with Solaris?
This is not a linux feature, but a bash one, so if you may just use bash as your login shell, if you prefer it. Bash is already distributed with Solaris.
Originally posted by cereal83 Also 1 other thing. Anybody know a good site to download software from and is there an apt-get type program for Solaris to update it?
In linux when you are working with the command line and you have some of a command down, you can hit "tab" to finish the command. Is there any way of doing that with Solaris?
Thanks
Solaris defaults to the old Bourne shell when you do not specify the shell. The feature you want can be enabled by changing your shell to /bash/tcsh/zsh. If you installed all the stuff in Solaris, you should be able to change by executing usermod -s /bin/bash (or zsh, tcsh) <username> at the prompt.
Regards,
Maidros
Ok Well first, about the shell. I do that usermod -s /bin/bash but it says "UX: usermod: ERROR: /bin/bash is not a valid shell. Choose another." So that makes me believe that I never installed it somehow. So now my question is how would I go around by installing it? I looked on the cd but I can't find it in there.
I found pkg-get last night thanks.
Maybe I should do a reinstall. I don't know, none of the admin commands seem to be here. I only have 7 GB for this partition and when I went to do a full install it said it was going to use like 6.9 GB so thats why I never did a full install. I don't want apache and other stuff that I don't need. I first want to be able to use it before I start looking into playing with apache or bind or stuff like that.
Originally posted by cereal83 Hey guys, Thanks for the great answers.
Ok Well first, about the shell. I do that usermod -s /bin/bash but it says "UX: usermod: ERROR: /bin/bash is not a valid shell. Choose another." So that makes me believe that I never installed it somehow. So now my question is how would I go around by installing it? I looked on the cd but I can't find it in there.
I found pkg-get last night thanks.
Maybe I should do a reinstall. I don't know, none of the admin commands seem to be here. I only have 7 GB for this partition and when I went to do a full install it said it was going to use like 6.9 GB so thats why I never did a full install. I don't want apache and other stuff that I don't need. I first want to be able to use it before I start looking into playing with apache or bind or stuff like that.
I am going to try a reinstall bye all
You do not need to reinstall. All you need is to install the package SUNWbash on CD2 of your install set. It is easily done by mounting the CD and executing pkgadd -d /cdrom/Solaris_10/Product which should launch your installer and give you the option to install SUNWbash (you will have to enter the number of the package from the list). This should solve your problem.
Regards,
Maidros
This last discussion is pointless, /bin is a symbolic link to /usr/bin under Solaris.
The issue is about /etc/shells needing to be created and containing the path(es) to bash for it to be accepted. Both /bin and /usr/bin should be put there, for all to be accepted.
You can also do it in /etc/profile, that's where the files for system-wide user shells are being located, that's if you want to use bash shell as your default login shell.
You can also do it in /etc/profile, that's where the files for system-wide user shells are being located, that's if you want to use bash shell as your default login shell.
/etc/profile is not a directory or a location for system wide user shells, it is just a single script file that is executed by bourne and bourne like shells at login. It is not recommended to mess with this file to have it changing the shell as it will be done for everyone. Better use /etc/shells and /etc/passwd as I suggested before.
Originally posted by jlliagre /etc/profile is not a directory or a location for system wide user shells, it is just a single script file that is executed by bourne and bourne like shells at login. It is not recommended to mess with this file to have it changing the shell as it will be done for everyone. Better use /etc/shells and /etc/passwd as I suggested before.
I've not come across this, I've always used the "admintool" menu to assist me in this. Good method.
Well I got Solaris installed this morning and I have been playing with it for a little while but I need to know a little bit more.
First my mouse Wheel isn't working and it's very annoying. In Linux you would modify the xorg.conf in /etc/X11. I went to /etc/X11/ but there wasn't really anything in there that I can modify so if somebody know how or where I have to go to do this, that would be great.
Next, I am looking for some kind of GUI program to add users and that kinda of stuff. I looked around and noticed some people mentions SMC and ADMINTOOL. I looked around on my computer for that but can't find anything so again if somebody could help me, that would be great.
You didn't say what version of Solaris you were using. "Admintool" works fine for me on Solaris 8.
Quote:
Is the default home directory for new users /export/home in Solaris because I know with Linu it's /home/
That is the default during install. You can change it after installation by editing the /etc/passwd file, creating the directories needed. Be sure you set ownership of the user's home directory to the owner. Assuming you do not want to automount /home, also comment out everything in /etc/auto_home and /etc/auto_master.
Quote:
Well so far everything seems to be going good ok. I can do alot of stuff because it's similar to linux. I am using Gnome after trying the other window manger and this one is much much easier.
Thanks and I look forward to some help.
Thanks again.
Quote:
Also 1 other thing. Anybody know a good site to download software from and is there an apt-get type program for Solaris to update it?
www.sunfreeware.com. The packages are in Solaris package format and install using pkgadd.
Also, anything distributed as a tarball will probably work using the standard "./config && make && make install".
Quote:
quote:In linux when you are working with the command line and you have some of a command down, you can hit "tab" to finish the command. Is there any way of doing that with Solaris?
This is not a linux feature, but a bash one, so if you may just use bash as your login shell, if you prefer it. Bash is already distributed with Solaris.
Bash is my preferred shell too, but for those that prefer csh, issue a "set filec" and the <esc> key becomes your file completion key.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.