LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-25-2007, 08:11 PM   #1
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Rep: Reputation: 15
New user failed to login using GUI, But for root it is working


HI Friends,

I am usig Open Solaris 10.5 in i386 Machine,
I created a new user 'guest' But this user can login only in command line mode.

In GUI Mode , after typing the userame & passwd. system agin comes back to the login screen, Is it because of any user permission issues??
(But root can able to login in GUI Mode.)


Kindly advice

ARUN(INDIA)

Last edited by kcarun; 07-25-2007 at 08:14 PM.
 
Old 07-26-2007, 03:43 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Did you try login the user under all of CDE / JDS and Failsafe sessions ?
 
Old 07-27-2007, 08:28 PM   #3
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15
HI jlliagre,

Thanks for your response,
1) I am using JDS in my machine,Only root can login in that mode

2) In failsafe mode i tried to login but the result was as follows

Quote:
# su guest
su: Unknown user ID
#
3) I dont know how to test in CDE ? ( Can I switch to CDE from JDS?)


..Arun

Last edited by kcarun; 07-27-2007 at 08:30 PM.
 
Old 07-28-2007, 02:58 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Login under CDE or failsafe is something you choose from the Login screen.

Anyway, if you can't su to the user account, the there is no chance you can login to it.

How did you create it ?
 
Old 07-28-2007, 08:21 AM   #5
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15
jlliagre,

I creaetd the user(guest) by followig 2 commands

Quote:
# useradd guest
&
# passwd guest
"su" in command terminal (in GUI) is working
Quote:
# su guest
$pwd
/
$ who am i
root pts/4 Jul 28 18:41 (:0.0)

Just now I created a new user(guest1), but the result is same
Quote:
# useradd guest1
# passwd guest1
New Password:
Re-enter new Password:
passwd: password successfully changed for guest1
#
 
Old 07-28-2007, 08:33 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
If guest home directory is / , it's no surprise it can't log in under a graphic environment.

/ is root's homedir under Solaris.

Run these commands
Code:
mkdir -p /export/home/guest
chown guest /export/home/guest
usermod -d /home/guest guest
and add this line to the /etc/auto_home file:
Code:
guest localhost:/export/home/guest
That should fix guest's login issue.
 
Old 07-28-2007, 09:29 AM   #7
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15
HI jlliagre ,

Yes that was the Problem , Now it is Ok, Thak yoy jlliagre , this is the first time i am getting a fastest solution,
Thak you Once Again, Ia am sending this post in that "Guest" Login

Arun

There was a small mistake in your previous post( Here I mentioned to help for the other members who will come to this page)



Quote:
mkdir -p /export/home/guest
chown guest /export/home/guest
usermod -d /home/guest guest
The 3rd line should be
usermod -d export/home/guest guest
 
Old 07-28-2007, 02:01 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by kcarun
There was a small mistake in your previous post( Here I mentioned to help for the other members who will come to this page)
Actually, there is no mistake there.
Quote:
The 3rd line should be
usermod -d export/home/guest guest
This works too, but breaks the Unix convention of having home directories under /home.
 
Old 07-29-2007, 03:07 AM   #9
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15
HI ,

Sorry Jlliagre, I am a newbie in Linux/Unix, Thank you for your advice,

Arun
 
  


Reply

Tags
gui



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
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 08:36 PM
Couldn't GUI login as any other user than root rugdude SUSE / openSUSE 3 03-19-2007 04:11 AM
Constant Failed SU Login Attempts in GUI mode thehuntedcat Linux - Security 4 11-21-2006 01:49 PM
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 03:41 PM
root login failed ! marudhu Linux - General 5 07-02-2003 12:27 PM

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

All times are GMT -5. The time now is 11:13 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