FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-20-2010, 08:42 AM
 
Default login problems after permission change: unable to cd to home

Problems started yesterday. I think when changing permission on root dir.
Debian Etch

Root login is no problem. I checked the permission of /etc / /root and set
them right according to a debian with same version.

Strace of login koenl says where all goes wrong:

3234 fchown32(0, 1008, 5) = 0
3234 fchmod(0, 0600) = 0
3234 rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
3234 clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
child_tidptr=0xb7dd7708) = 3235
3234 wait4(-1, <unfinished ...>
3235 getppid() = 3234
3235 setuid32(1008) = 0
3235 chdir("/data/home/koenl") = -1 EACCES (Permission denied)
3235 chdir("/") = -1 EACCES (Permission denied)
3235 write(2, "Unable to cd to '/data/home/koenl'
", 35) = 35
3235 time([1263977226]) = 1263977226
3235 stat64("/etc/localtime", 0xbf89dae8) = -1 EACCES (Permission denied)
3235 open("/etc/localtime", O_RDONLY) = -1 EACCES (Permission denied)
3235 open("/etc/localtime", O_RDONLY) = -1 EACCES (Permission denied)
3235 open("/etc/localtime", O_RDONLY) = -1 EACCES (Permission denied)
3235 send(5, "<84>Jan 20 09:47:06 login[3235]: unable to cd to
`/data/home/koenl' for user `koenl'
", 85, MSG_NOSIGNAL) = 85
3235 close(5) = 0
3235 munmap(0xb7f4b000, 4096) = 0
3235 exit_group(1) = ?
3234 <... wait4 resumed> NULL, 0, NULL) = 3235
3234 --- SIGCHLD (Child exited) @ 0 (0) ---


Any idea what to correct? Because of this samba fileserver and bind9 also
have problems. Any way to create rescue disk from other debian? i could
access that system with rsync from this one.

Koen




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org