From: "Alexey V. Lubimov" <avl@l14.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] passwd+user Date: Wed, 19 Feb 2003 13:00:25 +0300 Message-ID: <20030219130025.5a53a7a8.avl@l14.ru> (raw) In-Reply-To: <200302191200.42414.serpiph@newmail.ru> On Wed, 19 Feb 2003 12:00:42 +0300 Епифанов Сергей <serpiph@entek.ru> wrote: > В сообщении от 19 Февраль 2003 11:17 Serge V Kompan написал: > > Добрый день! > > У меня возникла проблемма: > > Добавляю из под root пользователя, даю ему пароль. > > Дальше захожу под этим пользователем в систему и пытаюсь > > набрать команду passwd в результате мне пишет что access denied > > /usr/bin/passwd . Ставлю разрешение 777 на passwd - но поменять пароль > > по прежнему не могу, подскажите что нужно еще сделать, что бы дать > > возможность пользователю менять пароль > > Права на /usr/bin/passwd: 2711, владелец root, группа shadow. Дайте команды: > > chown root:shadow /usr/bin/passwd > chmod 2711 /usr/bin/passwd Пользуйтесь хорошими инструментами. [avl@avl avl]$ sudo control ... passwd restricted (traditional tcb restricted) ... [avl@avl avl]$ passwd bash: /usr/bin/passwd: Permission denied [avl@avl avl]$ sudo control passwd traditional [avl@avl avl]$ passwd Changing password for avl. Enter current password: > > -- > С уважением, Епифанов Сергей -- С уважением, Алексей Любимов avl@cad.ru
next prev parent reply other threads:[~2003-02-19 10:00 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-02-19 8:17 Serge V Kompan 2003-02-19 9:00 ` Епифанов Сергей 2003-02-19 10:00 ` Alexey V. Lubimov [this message] 2003-02-19 11:01 ` Dmitry V. Levin 2003-02-19 14:23 ` Alexey V. Lubimov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030219130025.5a53a7a8.avl@l14.ru \ --to=avl@l14.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git