ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Yereschenko <ave4600@mail.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] smb4k & sudo
Date: Fri, 27 Apr 2007 09:30:04 +0300
Message-ID: <200704270930.04492.ave4600@mail.ru> (raw)
In-Reply-To: <20070426115749.GA23422@cryo.net.ru>

Доброе!
В сообщении от 26 апреля 2007 Pavlov Konstantin написал(a):
> > Последний сизиф. В smb4k настроено монтирование через cifs. До недавнего
> > времени все работало. Теперь после какого-то из последних обновлений при
> > монтировании ругается про неизвестный tty (/var/log/auth/secure) :
> >
> > sorry, you must have a tty to run sudo ; TTY=unknown ;
> > PWD=/home/ave/.kde/share/apps/smb4k ; USER=root ;
> > COMMAND=/usr/bin/smb4k_mount --suid -t cifs -o
> > domain=WORKGROUP,ip=192.168.0.254,file_mode=0644,dir_mode=0755,iocharset=
> >utf8,uid=500,gid=500,port=139,rw,username=ave //SERV/Public
> > /home/ave/mnt/SERV/Public
> >
> > Если дать эту команду из консоли (sudo <далее по тексту>), то монтируется
> > нормально. Размонтировать через smb4k тоже не удается :
> > sudo: sorry, you must have a tty to run sudo
> >
> > Где копать и где править?
>
> rpm --lastchange sudo и man sudoers

tty_tickets - оно?

Пробовал добавить в sudoers:
Defaults:ave !tty_tickets
Не помогло...

Defaults  !tty_tickets
Тоже не помогает...

Пока выкрутился запуском smb4k из konsole

--
Alexander

  reply	other threads:[~2007-04-27  6:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 11:44 Alexander Yereschenko
2007-04-26 11:57 ` Pavlov Konstantin
2007-04-27  6:30   ` Alexander Yereschenko [this message]
2007-04-27  6:36     ` Alexander Yereschenko
2007-04-27  5:09 ` Serge

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=200704270930.04492.ave4600@mail.ru \
    --to=ave4600@mail.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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