LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-31-2007, 09:58 AM   #1
dody1313
Member
 
Registered: May 2007
Posts: 179

Rep: Reputation: 30
login problem


Hi,
i am having a login problem.
everytime i put "root" as username and the "password" , it starts loging in but log me out sudenly and went back to the log screen...i have tried to log as a differnet user...nothing still.... the only way to get in my files is by command line.
please help me find a way to login as normal with "root"
thank you in advance
 
Old 05-31-2007, 10:35 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Quote:
everytime i put "root" as username and the "password" , it starts loging in but log me out sudenly and went back to the log screen.
This usually indicates that your entering the wrong password.

Since this article, and many others just like it, are publicly available I'm not going to discuss legal/ethical issues and just presume "you" are the system administrator who has forgotten the password.

How to Reset forgotten Root passwords
http://linuxgazette.net/107/tomar.html

If this is a new installation and you think you messed something up, don't be afraid to reinstall. There's nothing like trial and error to learn something.
 
Old 05-31-2007, 10:51 AM   #3
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
This sounds more like the window-manager is crashing (or is not found) than like he forgot the password. If he can log in from the command line and it accept the password... he's not trying to break in and doesn't need to reset the password.

dody, from the command line, can you get and then post the contents of ${HOME}/.xsession-errors ? This file will contain the output from what is being run when you log in and will contain error messages which will help us solve the problem.
 
Old 05-31-2007, 12:51 PM   #4
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
Hi bsdunix
i am the administrator
i know the password
i am even able to log on command line and change the root passwd but still doen't change anything

Hi frob23,
i did get in as command line and authenticate with root . and as u said there is a SYSerr(root) message coming in ...it's about my sendmail...i went on /etc/aliases and run newaliases but still didn't fix the problem.
i made a kill -HUP (#) command to restart sendmail
i am still not able to log as root correctly
what would u guys suggeste to me?
thns again for helping
 
Old 05-31-2007, 01:00 PM   #5
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
Hi guys,
previously it gave me this message:
"servername" sendmail [476] : 14UEvQI2000456: SYSERR(root): dbm map "alias0": missing map file /etc/mail/aliases
 
Old 05-31-2007, 01:02 PM   #6
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
now am trying to log on command line ...it keeps writing in capital letters ROOT but i do not have CAPSlock on.
now when i put the passwd seems like it's in cap letter also coz it not accepting it
 
Old 05-31-2007, 01:07 PM   #7
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
oh
ok guys...
forget what i said about ROOT in cap letter...after i reeboot the server, i am able to login in command line fine now, but am still not able to log normally to the desktop as root
hope u can help me with that
 
Old 05-31-2007, 01:11 PM   #8
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
when i log on command line as root
i get this SYSERR message
"hostname" sendmail [476]: 14UEvQI2000456: SYSERR(root): dbm map "alias0": missing map file /etc/mail/aliases
 
Old 05-31-2007, 02:42 PM   #9
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
I do not care about the errors you are getting when you log in at the command line. Reread what I posted. I am concerned about the errors that happen when you log into the graphical screen. Those errors should be in ${HOME}/.xsession-errors and I would like you to take a look at that file and produce the relevant error messages.

Code:
tail ~/.xsession-errors
The above command should spit out the last 10 lines of the file (this probably is enough but it may not be). When you have those errors... please post them here. Until then, I can not help you. No matter how many times you give me sendmail error messages (that is another very minor issue to solve later).
 
Old 05-31-2007, 02:55 PM   #10
wendea
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 81

Rep: Reputation: 15
Quote:
Originally Posted by frob23
I do not care about the errors you are getting when you log in at the command line.
terminals give you a better idea at whats happening unlike the GUI. I would be more concerned about the command line than the GUI.
 
Old 05-31-2007, 03:08 PM   #11
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Quote:
Originally Posted by wendea
terminals give you a better idea at whats happening unlike the GUI. I would be more concerned about the command line than the GUI.
In this case, they are irrelevant and distracting from the purpose unless they are severe enough to cause his login to be unsuccessful. His problem is not "logging in" per say, but rather it is "logging into X." When you log into X directly, error output is redirected to a file (.xsession-errors) in your home directory. If your xsession exits before you do anything... it is likely because of some error and that file will contain it 90% of the time. I've had a few rare instances where it wasn't the case (and then the message was in /var/log/X*.log instead.

Since he is not logging into X when he logs into the terminal... he won't see the error and we must rely on logfiles to ferret out and fix this problem. If he couldn't log in at all... then I would be concerned about messages on the terminal and console. If his problem was related to sendmail not functioning correctly... I would be concerned about sendmail messages on the console (which is distinct from terminals in general). But that is not the problem here.
 
Old 05-31-2007, 03:17 PM   #12
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
ok
am sorry for not understanding the previous mail
i did as u told me

tail ~/.xsession-errors

and i got the followings as an answer:
"ICEauthority@.gnome-desktop.vconsole.properties appsority-ccacheT .xftcach
.Xauthority-n .ICEauthority- I@"
 
Old 05-31-2007, 03:33 PM   #13
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
What happens if you run "startx" from the terminal?

Edit: I expect this to fail... and hopefully produce more informative messages. I am not familiar with gnome (apparently what you're using) and that message doesn't help me much. I need a more verbose listing.

Last edited by frob23; 05-31-2007 at 03:38 PM.
 
Old 05-31-2007, 03:42 PM   #14
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
it says
command not found
 
Old 05-31-2007, 03:44 PM   #15
wendea
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 81

Rep: Reputation: 15
Quote:
Originally Posted by dody1313
it says
command not found
make sure that is for your distro - the distro you are running might call it something different
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Login problem ssin14 Slackware - Installation 10 09-11-2006 07:35 AM
problem in login linuxthebest Linux - Newbie 3 08-09-2005 09:20 PM
login problem comprookie2000 Slackware 5 03-19-2004 11:03 PM
a login problem Warchief Linux - Security 1 07-24-2003 02:50 AM
Login Problem MatchStick Linux - Newbie 1 12-14-2002 08:41 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration