Solved

solaris bad login?

Posted on 2004-09-30
7
263 Views
Last Modified: 2013-12-27
Hi!

I managed to get the graphic engine started on Sol9. I can login via root / mypass on the console, but when I try to login via the graphical interface, it does not let me. After I type in root I cant type in the password. Any ideas?

B.
0
Comment
Question by:MorganStanley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 12189075
Usually root is blocked from logging in remotely for security.  This is set in /etc/default/login
Add another user and try with that (add a user with useradd & passwd)
0
 

Author Comment

by:MorganStanley
ID: 12189159
Hi!

I have added another user, but Sol says that no home dir is created and it starts the failsafe session.

I wish to add a user "baja" to be super-user (root basicly) and can login via web. How can I do that?
0
 
LVL 18

Expert Comment

by:liddler
ID: 12189192
When you create user, you need to create home directory - or ass useradd to do it for you
i.e.
useradd -c "Morgan Stanley" -d /export/home/baja -m -s /bin/ksh baja
passwd baja
and enter you password twice
It is always strongly recommended to never allow remote root logins.  If you intend to do this (bad thing), comment out the CONSOLE line in /etc/default/login.  But it's better to login as a normal user and your su or su for admin tasks.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:MorganStanley
ID: 12189623
I created kb as user, Morgan Stanley was too long for Sol. When I enter Gnome 2 I get the following error:

Please contact your system administrator to resolve the following problem:
Could not open or create the file "/export/home/baja/.gconf-test-locking-file"; this indicates that there may be a problem with your configuration, as many programs will need to create files in your home directory. The error was "Permission denied" (errno = 13).

When I enter CDE it just kicks me out :(

B.
0
 
LVL 18

Expert Comment

by:liddler
ID: 12189748
either /export/home/baja (your home directory) doesn't exist or it is not owned by the user.
type:
ls -ld /export/home/baja
and post the results here
0
 

Author Comment

by:MorganStanley
ID: 12190210
drwxr-xr-x   2 bajarulez other        512 Sep 30 14:16 /export/home/baja
0
 
LVL 18

Accepted Solution

by:
liddler earned 50 total points
ID: 12190429
they should really be the same user bajarulez home directory bajarulez
or both baja

Also
what is the output of:
grep baja /etc/passwd
&
grep baja /etc/shadow
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pauing printer deamon in AIX 10 66
text in table need to be center of the box 4 87
looking for unix program to search some keywords in side EAR WAR and JAR files 10 122
Access_log 17 183
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question