Re:
taras.perebeynosov gmail.com
20 10:06:36 BST 2010
*Да не в этом дело. *
root taras-desktop:/home# chown -R katya:katya /home/katya/
root taras-desktop:/home# ls -lh
итого 40K
-rw-r--r-- 1 root root 0 2010-09-17 08:36 echo
drwxrwxrwx 3 ftp nogroup 4,0K 2010-09-10 12:03 ftp
drwxr-xr-x 3 katya katya 4,0K 2010-09-18 15:26 katya
drwx------ 2 root root 16K 2010-05-06 02:46 lost+found
drwxr-xr-x 78 taras taras 4,0K 2010-09-19 20:52 taras
drwxr-xr-x 3 test1 test1 4,0K 2010-09-18 17:07 test1
drwxr-xr-x 2 testadm1 testadm1 4,0K 2010-09-17 21:36 testadm1
drwxr-xr-x 3 taras taras 4,0K 2010-08-27 23:41 themes
root taras-desktop:/home# login
taras-desktop login: katya
Password:
Last login: Sat Sep 18 15:28:47 MSD 2010 on pts/3
Linux taras-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC
2010 x86_64 GNU/Linux
Ubuntu 10.04 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
No directory, logging in with HOME=/
$
*Похоже переменная HOME коряво создалась для нового пользователя. Она в
корень ссылается:*
$ echo $HOME
/
18 сентября 2010 г. 17:26 пользователь Alex Emergy
<alex.emergy gmail.com>написал:
> 17.09.2010 17:14, Тарас Перебейносов пишет:
> > Что-то всё равно не работает. Удалил пользователя и группу, создал
> заново.
> > При логине в консоли вот такая ботва
> >
> > login as: katya
> > katya tarasper.no-ip.org <mailto:katya tarasper.no-ip.org>'s password:
> > Access denied
> > katya tarasper.no-ip.org <mailto:katya tarasper.no-ip.org>'s password:
> > Linux taras-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38
> > UTC 2010 x86_64 GNU/Linux
> > Ubuntu 10.04 LTS
> >
> > Welcome to Ubuntu!
> > * Documentation: https://help.ubuntu.com/
> >
> > 0 packages can be updated.
> > 0 updates are security updates.
> >
> > Last login: Fri Sep 17 17:10:46 2010 from 212.33.18.106
> > Could not chdir to home directory /home/katya: Permission denied
> > $
> >
> >
> > Причем вот права на хомяк:
> >
> > taras taras-desktop:/home$ ls -lh
> > total 36K
> > -rw-r--r-- 1 root root 0 2010-09-17 08:36 echo
> > drwxrwxrwx 3 ftp nogroup 4.0K 2010-09-10 12:03 ftp
> > drwxrwxrwx 3 katya katya 4.0K 2010-09-17 17:09 katya
> > -rw-r--r-- 1 root root 122 2010-09-17 08:37 kill
> > drwx------ 2 root root 16K 2010-05-06 02:46 lost+found
> > drwxr-xr-x 77 taras taras 4.0K 2010-09-17 08:43 taras
> > drwxr-xr-x 3 taras taras 4.0K 2010-08-27 23:41 themes
> >
> >
> > 16 сентября 2010 г. 21:22 пользователь Aleksander Gorohovski
> > <angel feht.dgtu.donetsk.ua <mailto:angel feht.dgtu.donetsk.ua>>
> написал:
> >
> > On Thu, 16 Sep 2010 20:22:31 +0300, Тарас Перебейносов wrote:
> >
> > > У меня Ubuntu 10.04, стоит практически с момента выхода релиза.
> Много
> > > всего
> > > настроено так как мне надо. Но вот возникла необходимость создать
> > вторую
> > > учетку и ... Не получается под ней залогиниться. Создавал через
> > System -
> > > Administration - Users and Groups. При попытке переключиться на
> > нового
> > > пользователя сыпятся ошибки и кроме фона рабочего стола ничего
> > нет. Вот
> > > что
> > > нашел в /var/log/syslog:
> > >
> > >
> > > Подскажите, плиз, куда хоть копать. Систему переставлять не хочу.
> >
> > Попробуйте в консоли от root
> >
> > # groupadd -g 1010 name-user
> > # useradd -g name-user -u 1010 name-user
> > # passwd name-user
> > # mkdir /home/name-user
> >
> >
> >
> >
> > --
> > ubuntu-ru mailing list
> > ubuntu-ru lists.ubuntu.com <mailto:ubuntu-ru lists.ubuntu.com>
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
> >
> >
> chown -R katya:katya /home/katya
>
>
> --
> С уважением,
> Alex Emergy
>
> --
> ubuntu-ru mailing list
> ubuntu-ru lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
>
----------- -----------
Вложение в формате HTML было извлечено…
URL: https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20100920/cbe4d93d/attachment-0001.htm
ubuntu-ru