Sponsored Content
Operating Systems Solaris Help me with console login problem Post 302200596 by mhm4 on Thursday 29th of May 2008 01:27:55 PM
Old 05-29-2008
Quote:
Originally Posted by eamani_sun
Hi,

I have solaris 10 installed on my computer and when try to login in console mode, it would give output something like this.

login:root
Password:
Last login: Thu May 29 10:00:55 on console
-sh: syntax error: `(' unexpected
-sh: grep: not found
-sh: uname: not found
-sh: test: argument expected
# ls
ls: not found
# clear
clear: not found
#


As you can see none of the commands work in this mode.

can someone tell me where I'm goin worng?


Thanks,
Sunny
You have errors in your root's .profile and make sure your path is being set correctly.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Login Console

Hi All, I am very new to Unix and already have a problem... My predecessor didn't note down the username and password to login to the console of an HP D Class 9000 enterprise server we have. I was wondering whether there is any way to bypass this console login screen in Unix... If not is there... (1 Reply)
Discussion started by: RMadjitey
1 Replies

2. IP Networking

ttymon error and console login

I have a Solaris 8 server and when I try to log into the console, after I enter the username and password, I get the message "ttymon cannot allocate controlling tty on /dev/console. There may be another session active on this port". Then when I try to log in again on the console or any of... (6 Replies)
Discussion started by: csross
6 Replies

3. SCO

login problem at console

I am running sco 5.06 open server We have encountered the problem while login into the live Online server. After putting the usr as root, the system is taking time(20 Sec) to show me ‘Password:'. Sometimes the system shows login time out. Again sometimes the system is showing password:, after... (3 Replies)
Discussion started by: rahmanm
3 Replies

4. HP-UX

HPUX Login Problem on the console

Hi Everyone, I have an HP3000 server on which I am unable to login to the server.I connected the server to my laptop thru a serial cable and I am unable to login thru any user ..when i enter my login id ..the system gets me back to the login prompt without asking me for a password. Cud u pls... (1 Reply)
Discussion started by: hunk
1 Replies

5. HP-UX

Unable to login at console and telnet

Hi friend, I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var? thanks. vestro (1 Reply)
Discussion started by: vestro
1 Replies

6. HP-UX

Cannot able to login on console

Hi I can neither able to login on console with my user ID nor with root user on HP-UX 9000/800 v11.11. I am putting the correct Password.While my colleague can login as his user on console. What is the reason that I can't login to console? Pl. help & thanks in advance. Mike (5 Replies)
Discussion started by: Mike1234
5 Replies

7. Red Hat

Cannot log from console login

Hello All, I'm facing the following problem: On a specific server I have installed Red Hat ES 4.5 and everything seems ok. But after a specific reboot, when the login prompt on the console, I put the root password and I can´t log on. It is strange for me due to if y try to log on using SSH I... (1 Reply)
Discussion started by: mig28mx
1 Replies

8. Solaris

Console Login Failed..

Dear Unix Team, This is sudhansu once again. I need some tips on below issue. Sometimes we got calls from customer that their console got hangged means they are not able to access the server through console ip. in that case "resetsc -y" will resolve the issue. 2. But couple of days... (2 Replies)
Discussion started by: sudhansu
2 Replies

9. UNIX for Dummies Questions & Answers

Console Login and Telnet

Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies

10. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies
sulogin(1M)						  System Administration Commands					       sulogin(1M)

NAME
sulogin - access single-user mode SYNOPSIS
sulogin DESCRIPTION
The sulogin utility is automatically invoked by init when the system is first started. It prompts the user to type the root password to enter system maintenance mode (single-user mode) or to type EOF (typically <CTRL-D>) for normal startup (multi-user mode). The user should never directly invoke sulogin. The sulogin utility can prompt the user to enter the root password on a variable number of serial console devices, in addition to the tra- ditional console device. See consadm(1M) and msglog(7D) for a description of how to configure a serial device to display the single-user login prompt. FILES
/etc/default/sulogin Default value can be set for the following flag: PASSREQ Determines if login requires a password. Default is PASSREQ=YES. /etc/default/login Default value can be set for the following flag: SLEEPTIME If present, sets the number of seconds to wait before login failure is printed to the screen and another login attempt is allowed. Default is 4 seconds. Minimum is 0 seconds. Maximum is 5 seconds. Both su(1M) and login(1) are affected by the value of SLEEPTIME. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ SEE ALSO
login(1), consadm(1M), init(1M), su(1M), attributes(5), msglog(7D) SunOS 5.10 25 Sep 2002 sulogin(1M)
All times are GMT -4. The time now is 05:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy