Sponsored Content
Operating Systems Solaris Help me with console login problem Post 302200530 by eamani_sun on Thursday 29th of May 2008 10:14:20 AM
Old 05-29-2008
Help me with console login problem

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
 

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
pam_console(8)						   System Administrator's Manual					    pam_console(8)

NAME
pam_console - determine user owning the system console SYNOPSIS
session optional pam_console.so auth required pam_console.so DESCRIPTION
pam_console.so is designed to give users at the physical console (virtual terminals and local xdm-managed X sessions by default, but that is configurable) capabilities that they would not otherwise have, and to take those capabilities away when the are no longer logged in at the console. It provides two main kinds of capabilities: file permissions and authentication. When a user logs in at the console and no other user is currently logged in at the console, pam_console.so will run handler programs speci- fied in the file /etc/security/console.handlers such as pam_console_apply which changes permissions and ownership of files as described in the file /etc/security/console.perms. That user may then log in on other terminals that are considered part of the console, and as long as the user is still logged in at any one of those terminals, that user will own those devices. When the user logs out of the last terminal, the console may be taken by the next user to log in. Other users who have logged in at the console during the time that the first user was logged in will not be given ownership of the devices unless they log in on one of the terminals; having done so on any one terminal, the next user will own those devices until he or she has logged out of every terminal that is part of the physical console. Then the race can start for the next user. In practice, this is not a problem; the physical console is not generally in use by many people at the same time, and pam_console.so just tries to do the right thing in weird cases. When an application attempts to authenticate the user and this user is already logged in at the console, pam_console.so checks whether there is a file in /etc/security/console.apps/ directory with the same name as the application servicename, and if such a file exists, authentication succeeds. This way pam_console may be utilized to run some system applications (reboots, config tools) without root pass- word, or to enter user password on the first system login only. ARGUMENTS
debug turns on debugging allow_nonroot_tty gain console locks and change permissions even if the TTY's owner is not root. handlersfile=filename tells pam_console.so to get the list of the handlers from a different file than /etc/security/console.handlers EXAMPLE
/etc/pam.d/some-system-tool: auth sufficient pam_rootok.so auth required pam_console.so /etc/pam.d/some-login-service: auth sufficient pam_console.so auth required pam_unix.so session required pam_unix.so session optional pam_console.so FILES
/var/run/console/ /var/run/console/console.lock /etc/security/console.apps /etc/security/console.handlers SECURITY NOTES
When pam_console "auth" is used for login services which provide possibility of remote login, it is necessary to make sure the application correctly sets PAM_RHOST variable, or to deny remote logins completely. Currently, /bin/login (invoked from telnetd) and gdm is OK, others may be not. SEE ALSO
console.perms(5) console.apps(5) console.handlers(5) pam_console_apply(8) /usr/share/doc/pam*/html/index.html BUGS
Let's hope not, but if you find any, please report them via the "Bug Track" link at http://bugzilla.redhat.com/bugzilla/ AUTHORS
Michael K. Johnson <johnsonm@redhat.com> Support of console.handlers and other improvements by Tomas Mraz <tmraz@redhat.com> Red Hat 2005/10/4 pam_console(8)
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy