1753888 Members
7363 Online
108809 Solutions
New Discussion юеВ

Re: Login Issue

 
Pluto_2
Occasional Advisor

Login Issue

Dear Experts,

As soon as I m login into box with my userid immediatley my seesion disappears. But when I m login as root session stays.

Please suggest on this.
9 REPLIES 9
Fred Ruffet
Honored Contributor

Re: Login Issue

Hi,

Do you have a message appearing ? Have you checked for particular content in user profile ? What shell is set for users and is it listed in /etc/shells ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Jeeshan
Honored Contributor

Re: Login Issue

Any thing can happen. check out the options

1. Check your userid status. Is it expire?
2. Check the number of tty your userid opened.
3. Check your userid home directory file system. If it is /home then check its full or have some spaces.

................


a warrior never quits
Pluto_2
Occasional Advisor

Re: Login Issue

Hi Ruffet,

there are two boxes. On one box i m able to login with my user id. but on another box when i m login, immediatley my screen disappears.

I compare my .profile file on both boxes. It looks same.


On the below box I m having problem.
================
raappsrv # pwd
/home/rs9987
raappsrv # ls -a
. .cshrc .login .sh_history
.. .exrc .profile default_profile.skel
raappsrv # cat .profile
# @(#)B.11.11_LR

# 050518 Parks This is a modified default .profile skel that removes the security
# vulnerabilty of {.} in the PATH
# Default user .profile file (/usr/bin/sh initialization).
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs

# Set up the search paths:
PATH=$PATH

# Set up the shell environment:
set -u
trap "echo 'logout'" 0

# Set up the shell variables:
EDITOR=vi
export EDITOR
raappsrv #
=======================

raappsrv # cat /etc/passwd|grep -i rs9987
rs9987:lrl4T8HPLVjeI:49695:14:Singh,Rahul:/home/rs9987:/bin/ksh
raappsrv #


==========================================

On this box i m able to login successfully.
==========================================
cow08152:rs9987 cat .profile
# @(#)B.11.11_LR

# 050518 Parks This is a modified default .profile skel that removes the security
# vulnerabilty of {.} in the PATH
# Default user .profile file (/usr/bin/sh initialization).
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs

# Set up the search paths:
PATH=$PATH

# Set up the shell environment:
set -u
trap "echo 'logout'" 0

# Set up the shell variables:
EDITOR=vi
export EDITOR
=====================================

cow08152:rs9987 cat /etc/passwd|grep -i rs9987
rs9987:lrl4T8HPLVjeI:49695:14:Singh,Rahul:/home/rs9987:/bin/ksh

Please suggest on this




Ishwar_1
Frequent Advisor

Re: Login Issue


Hi,

Check the password policy for user on both system in Sam. May be some one had change the policy settings for the user accidentlly.

Hope this information help you to your answer

Regards
Ishwar
Pluto_2
Occasional Advisor

Re: Login Issue

I m getting this error message after login.

=========================
Error: rs9987 is not authorized to login to bsp27607
logout
Kapil Jha
Honored Contributor

Re: Login Issue

check /etc/passwd what is your shell.
Do you have trusted system.
which HPUX.
Check if you allowed to log in to server.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Dennis Handly
Acclaimed Contributor

Re: Login Issue

>I'm getting this error message after login.
>Error: rs9987 is not authorized to login to bsp27607

Have you checked /etc/profile for some extra security checks based on user?
Akif_1
Super Advisor

Re: Login Issue

Hi Pluto,

Hope below input helps to sort out the issue if the user is deactive.

Goto:

SAM>Accounts for Users and Groups>Users>Select user ex:oracle > Actions>Click Activate

Have a good day!

Rgd's
T(ogether) E(very one) A(chive) M(ore)
singh sanjeev
Trusted Contributor

Re: Login Issue

I m getting this error message after login.

=========================
Error: rs9987 is not authorized to login to bsp27607
logout
-----------------------

Is your account present and active on the system bsp27607, try to debug with ssh -vvv to get more info and share in forum.

You can test with temporary account creation and login:

#to fix try creating the account once again without deleting the home directory.

#grep -i account /etc/passwd

#userdel account
#useradd


Sanjeev Singh