New user can not log in

Recently I created new user because I don not wont to use root account as default
but when I want to login I can choose Java desktop and after few seconds , system returns me back to login screnn , only root account woks fine

are you sure to have correctly created this user account?
the user can login from the console?
user home directory exist?
have you created password for new user?

I created user in old fashion way

useradd -d /export/home/denis -m -s /bin/tcsh -c "Name+Surname" denis

then

passwd denis

OS version?

What are logs sayin????

I have last version of Solaris 10

I must restart machine to get logs

what about CDE ..not java. same issue?
why u need restart for logs?
give me output

grep denis /etc/passwd

does denis login in with CLI?? not X.

the user can login from the console?

# grep denis /etc/passwd
# ls -l /export/home
# which tcsh

output?

ok ... will help you samar, it is useless to write the same things in two :wink:

I must restart PC because holly Terminal is not working

---------- Post updated at 07:03 AM ---------- Previous update was at 06:27 AM ----------

Ok I am back

output is

denis:x:100:1:Name and Surname:/export/home/denis:/bin/tcsh

for ls -l

total 18
-rw-r--r--   1 root     root           0 Jul 20 11:40 -u
drwxr-xr-x   2 root     root         512 Jul 20 11:38 denis
drwx------   2 root     root        8192 Jul 20 09:01 lost+found

and last command

/usr/bin/tcsh

which log do you need I have

Xorg.0.log       brlog            snmpd.log        syslog
Xorg.0.log.old   pool             swupas           webconsole
authlog          postrun.log      sysidconfig.log

# chown -R denis /export/home/denis

Thank you very much
just one more question is there possible to unrar rar files on Solaris ?

Sunfreeware - Freeware Open Source Software for Sun Microsystem's Solaris
...
Freeware List for Intel and Solaris 10 <--- unrar for Solaris 10 x86

Thanks you have also a beer when you come in Croatia :smiley:

:wink: ok, sure

its good that you solved your problem.
FYI the log file in this kind of issues related with dtlogin is:
/var/dt/Xerrors

Good luck

Hi,

I would suggest you to check the file system containing home directory or if that's ok then rename the .profile file and try to relogin.

Did you miss something? can try the following?
useradd -u 1010 -g 10 -d /export/home/denis -m -s /bin/tcsh -c "Name+Surname" denis

guys,
problem solved if you see in 2nd page . if im missing something please let me know.

good luck all!