Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-04-2004, 08:59 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
cannot login as newly created user in terminal

Hello All,
I am using Redhat 9 and have trouble with switching users.
When i turn on my system I log in as 'arun'( at the GUI login screen). 'arun' is a normal user account. Then i open a terminal and switch to super user using the su command. And then I create a user 'oracle' as follows:

useradd -c "Oracle Software owner" -g oinstall -G dba oracle
passwd oracle

I log out of my entire session and log in as 'oracle' from the gui login prompt and it works.
However if I log in as 'arun' and open a terminal and try to login as 'oracle' it fails saying 'Login incorrect'
I definitely know that i am typing the correct password.

I am not sure why it allows me to login from the gui prompt but would not let me do the same in the terminal window.

Also, I noticed that when logged in as su, trying to switch to any other user in the terminal simply closes the terminal. I assume this is a feature.. just wanted to confirm.,

Arun N
Old 06-04-2004, 09:07 PM   #2
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
Usually, you'll want to use the '-D' option to set up default values. Likely, your problem is that you don't have a default shell or home directory, and any basic hidden files you might need. ('-s' and '-d', respectively, installed with the '-D' option).


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
Problems with console login on newly created root filesystem (for PXEboot) holandes777 Linux - General 1 08-05-2004 06:11 PM
I can't login with newly created user r_ibsen Linux - Newbie 2 06-19-2004 09:32 AM
Nothing inside X Window for newly created User ID benny Linux - Newbie 6 04-10-2004 01:03 AM
Is there a way to custiomize newly created user profiles? pandersson61 Linux - General 3 01-17-2004 03:12 AM
Newly created user can't run kde neeyo Linux - General 4 04-11-2002 04:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:16 AM.

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