LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-02-2009, 03:14 PM   #1
coot
LQ Newbie
 
Registered: Jun 2009
Distribution: ubuntu
Posts: 6

Rep: Reputation: 0
visudo in ubuntu


Hello

I've set the sudoers file using visudo in ubuntu 9.04, and my configuration (which is rather standard one to run mount, umount and some other commands without a password) works but only when I'm directly connected to tty (before starting x windows system) and do not work in any terminal emulator (I'm using xterm).

Any help will be appreciated.
Best regards,
Marcin Szamotulski
 
Old 07-13-2009, 07:56 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,539
Blog Entries: 51

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
Quote:
Originally Posted by coot View Post
my configuration (..) do not work in any terminal emulator
What command do you issue? What's the result or error?
 
Old 07-14-2009, 12:46 AM   #3
coot
LQ Newbie
 
Registered: Jun 2009
Distribution: ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your answer.

I do not get any error. Visudo sets my rules with no error, and then when I do in tty
sudo dhclient ...
it do not ask for password (as desired)
but when I do the same in pts (xterm)
it asks.

Best regards,
Marcin Szamotulski
 
Old 07-14-2009, 10:56 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,539
Blog Entries: 51

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
Hmm. I wonder if this is related to Bug #87023: sudo option "tty_tickets" gives false sense of security due to reused pts numbers and if the workaround mentioned there could help you?
 
  


Reply

Tags
pts, sudoers, tty, visudo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
visudo question walidaly Linux - Software 5 05-23-2007 08:59 AM
A visudo script? djsodom Linux - General 1 02-27-2007 07:53 AM
visudo noonmid27 Linux - Newbie 8 02-23-2007 04:42 PM
Need help with visudo powadha Debian 2 12-19-2004 05:04 AM
visudo xviddivxoggmp3 Slackware 7 08-17-2004 08:19 PM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration