[oracle@wtu sqlplus]$ cd admin/
[oracle@wtu admin]$ ls
glogin.sql help libsqlplus.def plustrce.sql pupbld.sql
[oracle@wtu admin]$ cat glogin.sql
--
-- Copyright (c) 1988, 2005, Oracle. All Rights Reserved.
--
-- NAME
-- glogin.sql
--
-- DESCRIPTION
-- SQL*Plus global login "site profile" file
--
-- Add any SQL*Plus commands here that are to be executed when a
-- user starts SQL*Plus, or uses the SQL*Plus CONNECT command.
--
-- USAGE
-- This script is automatically run
--
[oracle@wtu admin]$
Is this the expected output..
IF not do you need to run the script again..
Oracle Database
Last Comment
walkerdba
8/22/2022 - Mon
johnsone
The glogin file is a script that is run every time someone does an initial login through SQL*Plus on the machine.
There is no expected commands in there. In fact, your file is empty, as all of those lines are comments.
Be aware, that it only applies to logins initiated on that machine. Any remote login will not run those commands.
David VanZandt
Think of it as a global environment for all users (on that machine). I commonly set the session arraysize to a higher/better value, to set a common prompt, or to change default tracing.
There is no expected commands in there. In fact, your file is empty, as all of those lines are comments.
Be aware, that it only applies to logins initiated on that machine. Any remote login will not run those commands.