Linux Distributions
--
Questions
--
Followers
Top Experts
I installed Suse linux on Virtual Machine. I logged in as a regular user and then switched to root. Afterwords, i typed this command:
#> /usr/sbin/useradd -g oinstall -G dba,oper oracle
In other words, i created a user called Oracle and then switched to Oracle user from root and tried to created .bash_profile from vi. When i do: wq, i get this error:
".bash_profile" E212: Can't open file for writing
Press ENTER or type command to continue
When i type this command q!, i get this error:
E138: Can't write viminfo file /home/oracle/.viminfo!
Press ENTER or type command to continue
After i press enter, vi exits and i get back to the command prompt.
I have no idea why does this happen. Any help/suggestions/advice will be appreciated.
Regards,
F-J-K
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
"make sure that the oracle home dir is created and owned by user oracle"
AFAIK, Home directory is created automatically by Oracle Installer. Thus, i'm trying to
edit the .bash_profile with the following entries and then install the Oracle:
# .bash_profile
ORACLE_BASE =/mnt/app/oracle;
ORACLE_SID=orcl10g
export ORACLE_BASE ORACLE_SID
unset ORACLE_HOME
Anyhow, i tried to login as Oracle user, i got the error that you see in snapshot 2 and 3. After that i desktop doesn't launch, the cursor just remains there with no tools loaded on desktop, so i had to restart.
If no solution found, i will have to move this question to Oracle category.
Thanks.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Linux Distributions
--
Questions
--
Followers
Top Experts
A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).