From: "Зенькович Александр" <keeperman@nm.ru> To: community@altlinux.ru Subject: Re: [Comm] Re: Проблема при монтировании CD Date: Mon, 17 Nov 2003 19:00:07 +0000 Message-ID: <20031117190007.72e00849.keeperman@nm.ru> (raw) In-Reply-To: <20031117104121.33b24ad7.juveman@atom.ru> On Mon, 17 Nov 2003 10:41:21 +0300 Juveman <juveman@atom.ru> wrote: <skip> > Я понял, что разрешения хранятся в /etc/sudoers. Вот только в нем > написано, что его редактировать можно только через visudo. А через > обычный редактор его нельзя отредактировать? Можно. По крайней мере я редактировал через mc, но можно и через графичесике редакторы (а чем Вам vi не понравился? :) ) >И еще, предидущий вопрос > не снимается. Почему при попытке монтирования устройства под рутом, > повляется сообщение mount: permission denied? Файл /etc/sudoers сейчас > выглядит следующим образом:# Host alias specification > # User alias specification > # Cmnd alias specification > # Defaults specification > # User privilege specification > root ALL=(ALL) ALL > # Uncomment to allow people in group wheel to run all commands > # %wheel ALL=(ALL) ALL > # Same thing without a password > # %wheel ALL=(ALL) NOPASSWD: ALL > # Samples > # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom > # %users localhost=/sbin/shutdown -h now Добавьте в этот файл строку usename ALL=(ALL) ALL (заменив предварительно username на имя Вашего пользователя). Этот файл не влияет на права запуска mount. P.S. Лично у меня строка root ALL=(ALL) ALL закоментированна
prev parent reply other threads:[~2003-11-17 19:00 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-11-17 7:41 ` Juveman 2003-11-17 19:00 ` Зенькович Александр [this message]
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=20031117190007.72e00849.keeperman@nm.ru \ --to=keeperman@nm.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git