Re: [gdm-list] Requesting for assistance



Respected Sir ,
 
Thanks a lot for your response . But Sir still I have same difficlulty in logging in as normal user . I am sending you the /etc/passwd file . I have a user called student . Please help me .
 

this is the output


[root localhost home]# cd /root
[root localhost ~]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
distcache:x:94:94:Distcache:/:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
webalizer:x:67:67:Webalizer:/var/www/usage:/sbin/nologin
squid:x:23:23::/var/spool/squid:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin
student:x:500:501::/home/student:/bin/bash
[root localhost ~]# 
 

Eagerly waiting for your kind reply and sorry for disturbing you .

 
Thanks & regards ,
Manarshi Das
Mob:+91-9000999730



--- On Wed, 7/1/09, Brian Cameron <Brian Cameron Sun COM> wrote:

From: Brian Cameron <Brian Cameron Sun COM>
Subject: Re: [gdm-list] Requesting for assistance
To: manarshi_das_biotech yahoo co in
Cc: gdm-list gnome org
Date: Wednesday, 7 January, 2009, 10:39 PM

manarshi:

> Thank youu very much Sir for your fast reply .I logged in as root and
runned 'startx' to launch the GUI program and backed out changes I made
.. Now I can log in as a root but while I try to login as normal user which I
have created , i get the folowing error message :
>  "GDM could not write to your authorization file.
> this could mean that  you are  out of disk space or your home directory
could not be opened for writing. in any case, it is not possible to log in
> contact your system administrator"

Your user should have an entry in /etc/passwd which looks like this:

testme:x:101:1::/export/home/testme:/bin/sh

Note that this line has several fields separated by ":" characters.
The second to last one is /export/home/testme in the above example.

The user which is failing should have a directory specified.  Does that
directory exist?  Is the directory owned by the user?  It should also
have 755 permissions.  Is all of this true?  If not, fixing the user's
$HOME directory to exist, have correct ownership and permissions should
fix the problem.

If that isn't the issue, then does changing RelaxPermissions in the
GDM configuration file to the value of "2" fix the problem?  If so,
then you can figure out what the problem is by setting the value back
to "0" and turning on debug in the GDM configuration file, and trying
to log in again so it fails.  Then you should find a gdm-related error
message in the syslog (/var/log/messages or /var/adm/messages depending
on your OS) which highlights what the problem is.  When the value is
0, GDM is picky about the permissions in your $HOME directory and may
not work as expected if the permissions are too permissive.  For
example, it will prevent login if your $HOME directory is world
writable, which is generally bad for security since any other user
on your system could modify your Xauth file.

Brian


Add more friends to your messenger and enjoy! Invite them now.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]