LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 01-06-2007, 06:34 PM   #1
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15
Opera on Solaris (run error)


I downloaded and installed my Opera Browser 9.10

But when i tryed to run it, i got this error:
http://files.myopera.com/Armanius/pi...-terminal2.png

(*ps: i only log in and work as ROOT)

Last edited by LAN-Dominator.nl; 01-06-2007 at 06:35 PM.
 
Old 01-06-2007, 07:38 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by LAN-Dominator.nl
i only log in and work as ROOT
This is a bad idea, especially to run a browser.

Anyway, Opera is wrongly assuming root's homedir is /root, while it's just / under Solaris.

Try running it with the option "-personaldir /"
 
Old 04-14-2007, 03:57 PM   #3
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Original Poster
Rep: Reputation: 15
I can't change my personaldir for Opera. It keeps telling that my $HOME is "/ROOT" but needs to be set to "/".

As i use your command, it stills heeps saying the seem line. Take a look:
http://files.myopera.com/Armanius/pi...ldir_error.png

i use "# /usr/local/lib/opera/9.10-20061214.1/opera -personaldir /"

What should i do?
 
Old 04-14-2007, 06:14 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by LAN-Dominator.nl
What should i do?
Log in as a non root user account.
Running any browser connected to the Internet as root is asking for trouble.
 
Old 04-15-2007, 03:33 AM   #5
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Original Poster
Rep: Reputation: 15
When i want to run Opera on my USER account (nonroot), i get the message that i have to set my "Language".

But when i want to set the Language, it says that the file is too old or not exist..

Look: http://files.myopera.com/Armanius/pi...root_error.png

Greetings, Erik
 
Old 04-15-2007, 01:01 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
/usr/local/lib/opera/9.10-20061214.1/opera looks dubious and is likely an internal binary.

Try instead something like: /usr/local/bin/opera
 
Old 05-08-2007, 08:54 AM   #7
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Original Poster
Rep: Reputation: 15
Well i started to use FireFox 2.0.0.3 instead...

Untill i find out how Opera really works, i'll keep running firefox.

But thanks for all the help
 
Old 05-08-2007, 09:23 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by LAN-Dominator.nl
Well i started to use FireFox 2.0.0.3 instead...
That's what I use.
Quote:
Untill i find out how Opera really works
??
I wrote the command you had to run for Opera to work. Did you try it ?
 
Old 07-29-2007, 04:49 AM   #9
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Original Poster
Rep: Reputation: 15
Talking

I got opera browser (9.22) running on Sun Solaris (11/06)

I used some valuable information from BlastWave "HOWTO Use Blastwave".

After installing the PKG-GET (+ KDE and GNOME), these steps made it avalable to install Opera:

Code:
Don't do that unless you have Solaris 10 

What I do recommend is that you change the root users home directory location to /root and nothing more fancy than that.
You can edit the /etc/passwd file and change the entry for the root user thus : 

root:x:0:1:Super-User:/root:/sbin/sh

Be very diligent about creating the root users home directory right away and ensure that it is only readable by the root
user :


# mkdir /root
# chmod 700 /root
# chown root:root /root


Also, you may be wondering why you should not change the root users default shell to bash.
Simply put, any other shell than /sbin/sh will be a dynamically linked executable with dependencies.
If you were to check /sbin/sh you would find that it is a standalone program : 


$ ldd /sbin/sh
ldd: /sbin/sh: file is not a dynamic executable or shared object

That means that your machine can suffer some horrible disaster and still be able to function in single user mode if you
can boot the kernel and get to a running shell with the root user. That is becuase the root user only needs /sbin/sh to
have a fully functional shell. If you were to use bash or any other shell then you would need a stack of dependencies.
Those dependencies may not exist if they are on some other file system or on a damaged file system.
 
Old 07-29-2007, 05:33 AM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The first advice is controversial. The consensus is never log in as root but either su to it or user RBAC.
You are strongly discouraged to use any browser or similar application as root.

The second advice doesn't apply to Solaris 10.
 
Old 07-29-2007, 07:11 AM   #11
kebabbert
Member
 
Registered: Jul 2005
Posts: 461

Rep: Reputation: 41
Quote:
Originally Posted by jlliagre
The first advice is controversial. The consensus is never log in as root but either su to it or user RBAC.
You are strongly discouraged to use any browser or similar application as root.

The second advice doesn't apply to Solaris 10.
I think the first advice, is valid upon newly installing Solaris? Because only root account exists, and the advice states that when root logs in, he will end up in "/" and there will .profile files etc sprinkled all over the top directory. Therefore, as quick as possible, log in via command line and create a /root directory, which is root's home.

If I understood the advice correctly?
 
Old 07-29-2007, 01:40 PM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by kebabbert
I think the first advice, is valid upon newly installing Solaris? Because only root account exists, and the advice states that when root logs in, he will end up in "/" and there will .profile files etc sprinkled all over the top directory. Therefore, as quick as possible, log in via command line and create a /root directory, which is root's home.

If I understood the advice correctly?
That isn't my advice. Never log in as root, unless there is no other choice obviously. After installation, log in in console mode, not graphical, and create a regular user account. log-out and never login again as root.
Use the user login acount just created and switch to root (su) only and only when necessary. Promptly leave the su shell when done.
Using a graphic environment or a browser as root is defeating Unix security model.
If there are commands you often need to run that require specific privileges, use RBAC/pfexec.
 
  


Reply

Tags
opera, solaris


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OPERA HAs FINALLY go into INTEL Solaris Platforms...YEPIEEE!!!!! as400 Solaris / OpenSolaris 5 06-04-2006 11:16 AM
opera with janus tutorial for solaris x86 available? shshjun Solaris / OpenSolaris 1 02-21-2006 12:31 AM
Opera won't run Metamorphousthe Suse/Novell 7 09-24-2005 07:25 AM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM
Error trying to run Opera after RPM installation timsch75 Linux - Newbie 5 03-04-2004 08:45 AM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration