07-06-2012
sounds like a bad shell entry in the passwd file to me as well.
chsh username is your friend.
10 More Discussions You Might Find Interesting
1. AIX
When we as normal user try to login, the session startup terminates and we are presented with the login screen.The root user is able to login without any problem.I can log in to the Aix server as normal user through telnet & using xmanager but not directly through server terminal .The Aix version... (1 Reply)
Discussion started by: ranadeep
1 Replies
2. Solaris
I am running 5.10 Generic_120011-14
Sunblade 1500
I have one client that was working fine in a training environment. Then this week the user is unable to login as the user that is created by default. The students do not have access to root to change system files or user accounts. This is... (11 Replies)
Discussion started by: deaconf19
11 Replies
3. Emergency UNIX and Linux Support
Hi All,
My Gnome screen goes blank after login happened for a particular user,the gnome is working fine for all other user in the box,please help me out on this ,it was working fine from yesterday but all of a sudden it goes blank . (11 Replies)
Discussion started by: malickhat
11 Replies
4. Ubuntu
Hi,
Im running ubuntu server 8.04 LTS, but I want to change the initial login screen message. How can I do this? Which files do I need to change for this?
So just to be clear when I reboot the server the login text which is then displayed thats what I want to change not the text that is... (5 Replies)
Discussion started by: jld
5 Replies
5. Solaris
Unable to login to solaris9 server using SSH mode for root as well as genreal logins. Please find the configuration file .
oss@HYDOHS02:ssh> cat sshd_config
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "@(#)sshd_config ... (6 Replies)
Discussion started by: hydoss1
6 Replies
6. AIX
I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs.
I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies
7. Ubuntu
Hello All,
I have installed VNC Server on Ubuntu system to access this system from windows machine i'm using VNC Viewer.
When i logged off the server from windows machine through VNC Viewer its showing blank screen only...
Kindly help.
Regards,
Purushottam Aher (0 Replies)
Discussion started by: purushottamaher
0 Replies
8. AIX
We are having occasional problems accessing some AIX servers. When this happens we cannot ssh to the server in question or login via HMC console terminal window. We can ssh some commands to the server and get responses but other commands just hang, ssh serverA date returns the date, ssh serverA... (5 Replies)
Discussion started by: Kierong
5 Replies
9. Solaris
Hi
Please I need help on trying to login on a solaris 10, blade server.
login as: root
Using keyboard-interactive authentication.
Password:
I even try a normal user, I do not get the prompt.
I suspect the reason could be that /varis at 98% because I have configure email alerts to warn me... (9 Replies)
Discussion started by: fretagi
9 Replies
10. AIX
FTP Server in P590 machine was unable to login, Torwing error while login.
Tried to change password through maintenance mode by running AIX 5.3 OS CD, But CD row was unable to detect for the particular LPAR.
Please Suggest ASAP. (3 Replies)
Discussion started by: marunmeera
3 Replies
LEARN ABOUT OPENDARWIN
chsh
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)