09-25-2008
Statements:
You cannot login as you
You cannot login as root
Your colleague can login as himself
Questions:
Can your colleague login as root?
Can your colleague su - root?
If your colleague CAN login as himself, but cannot login as root, there is a good chance that root login via console has been disabled. Ask your colleague to su - root and reset your password to something that does not include "!" or "?" - preferably something that uses letters only. It's possible that your shell is doing some bad character substitution.
Last edited by avronius; 09-25-2008 at 02:40 PM..
Reason: grammatical errors
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
After Configuring a brand new netraT1, It appears, the only way you can log in as root is throught the Serial Port (console). I believe there is a file in /etc which can be edited to allow root to access login via other methods
eg: telnet, ssh, etc.
My Question:
Which file contains... (2 Replies)
Discussion started by: SmartJuniorUnix
2 Replies
2. UNIX for Dummies Questions & Answers
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
3. IP Networking
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
4. SCO
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
5. Solaris
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:... (1 Reply)
Discussion started by: eamani_sun
1 Replies
6. Red Hat
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
7. Solaris
I have a sunfire v480 and a v440 that both have an issue with logging into the text based console as opposed to JDE.
It looks like the text is wrapping around, because it is too long for the screen.
When I run something like `system-unconfig` i get something that looks like this.
... (2 Replies)
Discussion started by: mcdef
2 Replies
8. Solaris
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
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
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
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
shadow-utils 4.5 01/25/2018 CHSH(1)