Sponsored Content
Operating Systems AIX User cant log in (close terminal) Post 302397574 by lo-lp-kl on Monday 22nd of February 2010 06:28:13 PM
Old 02-22-2010
User cant log in (close terminal)

Hello everyone

I have a user on my server, Aix 5.3 TL9 sp4. Weeks ago I dont have a problem but today the user cannot log in. let me explain.

Me with root user I can change his password. then I log in with the user and I can change the password and the terminal close. Im using ssh.

But when I try to login again with the new password. I type the user name and the password but I cant get the prompt the terminal (putty) close.

I check the permissions on the file /etc passwd and group and on /etc/security and looks ok


Any ideas what could be the problem.


Thanks for your comments.

---------- Post updated at 05:28 PM ---------- Previous update was at 01:51 PM ----------

I guess the problem was resolve.

I added in /etc/passwd rksh, before was usr/bin/ksh and finished usr/bin/rksh

Im testing.


thanks anyway
 

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Test: can a user close his own thread?

Just a test thread. (0 Replies)
Discussion started by: Perdy
0 Replies

2. Programming

when parent process close, how to close the child?

can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies

3. OS X (Apple)

adding new user/account in terminal

Can anyone tell me what the command(s) are for adding a new account through the terminal application in OS X? I've been looking around the man pages but can't find anything. (1 Reply)
Discussion started by: Straitsfan
1 Replies

4. Shell Programming and Scripting

script does not close terminal after running

For a small script i want it so that the terminal closes when the script has completed its tasks. To do so i use at the end if the script the following: echo "Hello, World!" echo "Knowledge is power." echo "" echo "shutting down terminal in 10 seconds" exit 10 however the terminal stay's... (3 Replies)
Discussion started by: Ditzyken
3 Replies

5. UNIX for Advanced & Expert Users

close a mac terminal

Is there a trick to closing a mac terminal with a command? I would think you could just type exit into your terminal but that doesn't work. I also tried quit and close just for the hell of it and that didn't work either. Does anyone know what the command is? (1 Reply)
Discussion started by: cokedude
1 Replies

6. Programming

[C] close server after user input

i must close server after a specific user input, such as FINE, if i put a test inside function "maiuscolatore" i receive an error on second recv of client. why? below there are code of client and server: CLIENT: #include <stdlib.h> #include <stdio.h> #include... (0 Replies)
Discussion started by: tafazzi87
0 Replies

7. OS X (Apple)

Strange user in Terminal

When I open terminal the user account name changes from my account name to "some-guy" ie this is what I see when I open it: Last login: Sun Jun 5 15:27:51 on ttys000 some-guy:~ backupuser$ What does this mean please and how can I get rid of it? I dont have any blue tooth or anything in... (5 Replies)
Discussion started by: gravitate
5 Replies

8. UNIX for Advanced & Expert Users

Close UNIX terminal

Hi, In one of the circumstances, my manager asked my password and opened unix terminal (Putty) with my user credentials. Its been more than 2 days that terminal is opened (saw it through finger command). How do I close that terminal which is not opened in my pc. I'm very uncomfortable of the... (11 Replies)
Discussion started by: bobbygsk
11 Replies

9. Shell Programming and Scripting

Switch user terminal error

Hello All, Here I am trying to login a Linux machine as admin user from a Solaris box.. & then switch to root user.. Code I use: ssh admin@<IP> << END su - root << A echo "Hello I am logged in as root" exit A exit END But the error I get.. su: must be run from a... (3 Replies)
Discussion started by: ailnilanjan
3 Replies

10. Shell Programming and Scripting

Terminal running bash/rsync script does not close with exit (MacOS High SIerra)

Hello, I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using, #!/bin/bash # main backup location, trailing slash included backup_loc="/Volumes/Archive_Volume/00_macos_backup/" # generic backup function function backup {... (12 Replies)
Discussion started by: LMHmedchem
12 Replies
NEWGRP(1)                                                          User Commands                                                         NEWGRP(1)

NAME
newgrp - log in to a new group SYNOPSIS
newgrp [-] [group] DESCRIPTION
The newgrp command is used to change the current group ID during a login session. If the optional - flag is given, the user's environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged. newgrp changes the current real group ID to the named group, or to the default group listed in /etc/passwd if no group name is given. newgrp also tries to add the group to the user groupset. If not root, the user will be prompted for a password if she does not have a password (in /etc/shadow if this user has an entry in the shadowed password file, or in /etc/passwd otherwise) and the group does, or if the user is not listed as a member and the group has a password. The user will be denied access if the group password is empty and the user is not listed as a member. If there is an entry for this group in /etc/gshadow, then the list of members and the password of this group will be taken from this file, otherwise, the entry in /etc/group is considered. CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool: SYSLOG_SG_ENAB (boolean) Enable "syslog" logging of sg activity. FILES
/etc/passwd User account information. /etc/shadow Secure user account information. /etc/group Group account information. /etc/gshadow Secure group account information. SEE ALSO
id(1), login(1), su(1), sg(1), gpasswd(1), group(5), gshadow(5). shadow-utils 4.5 01/25/2018 NEWGRP(1)
All times are GMT -4. The time now is 01:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy