Home » RDBMS Server » Security » create user using java shell (oracle 10g)
create user using java shell [message #549274] Thu, 29 March 2012 06:34 Go to next message
ashishs
Messages: 40
Registered: May 2011
Member

Hey, how to create user using java shell basis to using sysdba or sysoper access on isplplus and what is the location of java home in linux.
Re: create user using java shell [message #549286 is a reply to message #549274] Thu, 29 March 2012 06:56 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
1/ Do not use isqlplus, it is obsolete
2/ Do not use SYSDBA to create a user
3/ Do it in the same way than in other tool: using CREATE USER

Regards
Michel
Re: create user using java shell [message #549326 is a reply to message #549286] Thu, 29 March 2012 08:59 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>what is the location of java home in linux.
see below

bcm@bcm-laptop:~$ env | sort
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-hroe8VFHFt,guid=c5685e50dade0688bb36f0634f74677c
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
DESKTOP_SESSION=gnome
DISPLAY=:0.0
EDITOR=vi
GDM_KEYBOARD_LAYOUT=us
GDM_LANG=en_US.utf8
GDMSESSION=gnome
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/tmp/keyring-VFhiva
GNOME_KEYRING_PID=1704
GTK_MODULES=canberra-gtk-module
HOME=/home/bcm
LANG=en_US.utf8
LD_LIBRARY_PATH=/usr/lib:/usr/lib32
LOGNAME=bcm
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
OH=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=v112
ORBIT_SOCKETDIR=/tmp/orbit-bcm
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/home/bcm
SESSION_MANAGER=local/bcm-laptop:@/tmp/.ICE-unix/1722,unix/bcm-laptop:/tmp/.ICE-unix/1722
SHELL=/bin/bash
SHLVL=1
SPEECHD_PORT=7560
SSH_AGENT_PID=1759
SSH_AUTH_SOCK=/tmp/keyring-VFhiva/ssh
TERM=xterm
USER=bcm
USERNAME=bcm
_=/usr/bin/env
WINDOWID=65011716
XAUTHORITY=/var/run/gdm/auth-for-bcm-zpvgWB/database
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_SESSION_COOKIE=8e2a1cbb492e2c937569d5104be36eb1-1333028731.797122-235340231
bcm@bcm-laptop:~$
Previous Topic: ORA-28663
Next Topic: Audit Destination Problem
Goto Forum:
  


Current Time: Thu Apr 18 04:43:29 CDT 2024