A Problem with the JDK and javac

Hello people:

I am new to this forum so please be gentle :)!

I have this problem. I can access the javac program while on the root user account (did a 'su - '), but I need all users of the computer to be able to use it. They can currently use the ‘java’ command but that was expected.

Also, is there some way to access the root account at the login screen.

Is there any way to do this?

Thanks in advance for any help you can offer,
mintsmike

I’m not familiar with the application or it’s use. But as a user you can use ‘su’. But whatever you do, don’t even consider root login!
SDB:Login as root - openSUSE

Hi
Further to caf4926, you can always use gnomesu, kdesu and xdg-su to
start a root GUI application.

I’m not familiar with the java app either, maybe an environment
variable needs to be set? Else if push comes to shove, set the sticky
bit.


chmod 4755 <path_to_app>/<app_name>


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 2 (i586) Kernel 2.6.30-rc6-git3-4-default
up 8:58, 2 users, load average: 0.42, 0.48, 0.29
CPU VIA Esther processor 1000MHz GPU VIA CX700/VX700

mintsmike wrote:

> I have this problem. I can access the javac program while on the root
> user account (did a 'su - '), but I need all users of the computer to be
> able to use it. They can currently use the ‘java’ command but that was
> expected.
>
> Also, is there some way to access the root account at the login
> screen.
>
> Is there any way to do this?

“sudo” (man sudo) should help.

Just setup and configure it to allow users running javac :slight_smile:

Gretings,


Camaleón

On Sat, 06 Jun 2009 12:46:01 GMT, mintsmike
<mintsmike@no-mx.forums.opensuse.org> wrote:

>
>Hello people:
>
>I am new to this forum so please be gentle :)!
>
>I have this problem. I can access the javac program while on the root
>user account (did a 'su - '), but I need all users of the computer to be
>able to use it. They can currently use the ‘java’ command but that was
>expected.
>
>Also, is there some way to access the root account at the login
>screen.
>
>Is there any way to do this?
>
>Thanks in advance for any help you can offer,
>mintsmike

Sometimes an application needs to be installed for each user. Example;
wine works best on a per user basis.