exec login fails


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users exec login fails
# 1  
Old 06-09-2004
exec login fails

Ladies and Gentlemen;
I need your help in determining what has happened to one of my companies systems. Here is the scenario:
System Ultra 5 with Solaris 2.6 and the latest patch cluster installed. Third party security person "hardened" the system yesterday. Now when I login into CDE and open a terminal window and run the exec login command the login prompt appears, I enter the same login I used to login into CDE with and password and the window just disappears. I have checked the /etc/profile, /etc/login files all seem un-touched.

The only way I have been able to duplicate this error on a non-hardened system was to set the "no root login" on console option in the /etc/default/login file. I then opened up a terminal and tried the exec login command (as root) and got the same results as on the system that was hardened (the window just disappears).

Any help would be greatly appreciated.

Respectfully;
Mark K.
# 2  
Old 06-09-2004
so you are trying to login as root?

login as another user. and SU to root ONLY when you need to use root privaliges. the guy who "hardend" your systems should have also explained to the users good security habbits.
# 3  
Old 06-10-2004
RE: Exec login fails Resolved

Well boys and girls put this away for a rainy day. I figured out what happened to cause exec login to stop functioning. As you may recall in my first post I explained that exec login stopped working after a third party had "hardened" the system. Well one of the files that was hardened was the /var/adm/utmpx, whoose original permissions were 644 after the "hardening" they were 640. Once I changed the permissions back exec login worked just fine.

Problem solved.

Regards - Mark K.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Can adding to a new group be effective in current login environment without re-login?

Hey folks, When a user is added to a new group, the user has to be log out and log in again to make the new group effective. Is there any system command or technique to refresh user group ID update without re-login? I am not talking about to use "login" or "su -l" commands which can only make... (2 Replies)
Discussion started by: hce
2 Replies

2. Shell Programming and Scripting

Script Variables Inquiry, Values Okay in Standalone Exec, No-Show in Cron Exec

I have the following bash script lines in a file named test.sh. #!/bin/bash # # Write Date to cron.log # echo "Begin SSI Load $(date +%d%b%y_%T)" # # Get the latest rates file for processing. # d=$(ls -tr /rms/data/ssi | grep -v "processed" | tail -n 1) filename=$d export filename... (3 Replies)
Discussion started by: ginowms
3 Replies

3. Solaris

error message rmclomv ... SC Login Failure for user Please login:

Hello World ~ HW : SUN Fire V240 OS : Solaris 8 Error message prompts 'rmclomv ... SC login failure ...' on terminal. and Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S) The System is in normal operation, though In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies

4. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

5. Cybersecurity

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies

6. Web Development

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies

7. UNIX for Dummies Questions & Answers

No utpmx entry: you must exec "login" from lowest level "shell"

Hi I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message No utpmx entry: you must exec "login" from lowest level "shell" :confused: What i want is: open various... (0 Replies)
Discussion started by: peterpan
0 Replies

8. Solaris

ioctl() fails to get window size from console login

Hi, I need to get the console window size for an application, for which I used ioctl() by passing the TIOCGWINSZ parameter. The ioctl() function does not fail (returns non zero), but it could not get the window size (gets 0x0). When I tried to verify the window size by the stty -a command, the... (2 Replies)
Discussion started by: diganta
2 Replies

9. Shell Programming and Scripting

Solaris 2.6 exec login fails

Ladies and Gentlemen; I need your help in determining what has happened to one of my companies systems. Here is the scenario: System Ultra 5 with Solaris 2.6 and the latest patch cluster installed. Third party security person "hardened" the system yesterday.... (2 Replies)
Discussion started by: rambo15
2 Replies
Login or Register to Ask a Question