Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-11-2017, 01:51 AM   #1
Senior Member
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Question Unable to give permission through sudoers to a script accessing /dev/tty13

Here abc is the username and is the file which I wish to get all the permissions.
Have added the following line on the top of sudoers.tmp which I opened like sudo visudo:

abc ALL=NOPASSWD: /home/abc/ contains:

sudo cat /dev/tty13
When I run the script file, it asks me for password.

Last edited by Aquarius_Girl; 07-11-2017 at 02:59 AM.
Old 07-11-2017, 04:05 AM   #2
LQ Newbie
Registered: Oct 2007
Posts: 18

Rep: Reputation: 30
Unable to give permission through sudoers to a script accessing /dev/tty13

this sometimes may be because of sequence of the line you are defining rules in sudoers list. better you check manual for this or google it.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sudoers specific permission RaptorX Slackware 14 07-21-2009 02:56 AM
sudoers - how to give access to certain directories? trey85stang Linux - Enterprise 4 05-23-2009 03:30 PM
using sudoers files to give privilege to users dolceinter1 Linux - Server 1 11-04-2008 03:37 PM
Permission Denied for script accessing text file lobo1 Linux - General 2 06-28-2005 01:46 PM
Why I cannot change permission on /etc/sudoers? mikeshn Linux - Software 1 01-06-2005 12:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 PM.

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