LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-29-2006, 02:15 PM   #1
Joe Kerly
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
Exclamation New user lost the command line!


We have a new user, here, and he (or she) lost the command line in Red Hat LINUX. My LINUX skills are weak, at best, and I only know what Graham Glass tells me (Graham Glass and King Ables. _LINUX for Programmers and Users_. (Upper Saddle River, NJ: Prentice Hall / Pearson), 2006). I am trying to retrace what this person's last keystrokes were, something about looking for different kinds of help pages. Any ideas where to start to get back to the root directory? Initially, we were trying to set up the first user account just after installing Red Hat LINUX on the PC. Graham cautions against using the root directory all the time. Any help appreciated.
 
Old 11-29-2006, 02:22 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
What do you mean by "lost the command line", could you be more specific?

Quote:
Graham cautions against using the root directory all the time. Any help appreciated.
Do you mean root account? Root directory means /, the "base of the directory structure", i.e. a place which is the topmost. Like C:\ on Windows, if you like to think it that way. root account on the other hand means the system administrator user account, i.e. the user who has most power over the system.

If you could provide more information or a better description of what exactly has happened, it would be easier to help.

-Juho
 
Old 11-29-2006, 02:36 PM   #3
Joe Kerly
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
There was a line called something like "root/dvdrecorder" and you could type things like "pwd" or "ls" and get information. That's what I'm calling the command line, the place where you typed-in LINUX commands.

This is also what I meant by "root directory". I think it's the root directory, because no accounts have been set-up, yet, not even a system administrator account.

Right now, if you look at the screen, the main menu up at the top has "Applications" and "Actions". There are 4 icons in the main display "Computer", "root's Home", "InHouseSoftware" and "FLEXTOOLS-UNIX".

Is that enough info? We were trying to type in "useradd [-d directory][-s shell] userName" and that's why he was trying to figure out what a directory was and what a shell was. I think we have a GNOME Desktop Environment.

There is a "User Manager" dialog box, that shows maybe he did create a su account (User Name-->Engineer User ID-->500 Primary Group-->su Full Name-->Engineer Login Shell-->bin/bash Home Directory-->/home/Engineer). If I could just get back to that account it would be sufficient.

This might be the solution I was looking for. Just right-clicked on the open background and got a dropdown menu. Selected "Open Terminal" and it gave me the "[root@MyCompany ~]# " command line. From here I hope Graham's book will show us how to set up user accounts.

Or, even easier "C+shift+N" works.

--Joe Kerly

Last edited by Joe Kerly; 11-29-2006 at 03:22 PM.
 
Old 12-09-2006, 02:37 AM   #4
vimalkumar_k
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Rep: Reputation: 0
soory to say this..
but u have lost ur mind...
 
Old 12-12-2006, 06:58 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Joe, hope you're ok from now, but it will help in future if you add your distro & version info to your details.
 
Old 12-13-2006, 05:09 AM   #6
Joe Kerly
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks chrism01. That's good to know.
--Joe Kerly
 
Old 12-14-2006, 02:01 AM   #7
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
to get back ur commmand line, click in "Applications" then "System Tools" then "Terminal".
 
Old 12-14-2006, 02:09 AM   #8
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
if u type "man useradd" at command prompt (without the quotation), it will display the help file (manual) for the useradd command and its options
 
Old 12-19-2006, 11:23 AM   #9
Joe Kerly
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Joe Kerly
Thanks chrism01. That's good to know.
--Joe Kerly
The disto / version seems to be

Red Hat (3.4.6-2)

LINUX 2.6.9-42

Do these make any sense?

--Joe Kerly
 
  


Reply



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
How do you create a user account from command line??? bossdog22 Ubuntu 3 04-18-2006 01:06 PM
How to kill an idle user via the command line? goemon Linux - General 7 12-01-2005 06:01 PM
command line user administration?? trey85stang Slackware 6 03-22-2004 11:15 AM
adding a user in the command line Daredevil Linux - Newbie 5 02-27-2004 12:56 PM
changing to root user without command line kaega2 Linux - Software 3 11-28-2003 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:27 PM.

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