Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

solaris bad login?

Posted on 2004-09-30
7
Medium Priority
?
271 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
Independent Software Vendors: 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 200 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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

704 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