LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2005, 10:02 PM   #1
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
super root-tail 'permission denied'


Fluxbox 0.9.12

I have the following at /usr/local/sbin/root-tail.username
Code:
#!/bin/sh
whoami     #debug purpose
export XAUTHORITY=/home/username/.Xauthority
export DISPLAY=:0.0
/usr/X11R6/bin/root-tail /var/log/messages --frame

Then, /etc/super.tab with default and the following line added:
Code:
root-tail /usr/local/sbin/root-tail.username username
with all the permission untouched..

It return this:
Code:
username@apocalypse:~$ super -H
super version 3.26 patchlevel 0
(Use super -h for general usage information.)
Super.tab file: `/etc/super.tab'

===============================================
Commands available to user username (use option `-h' for a general usage listing):

super root-tail -> /usr/local/sbin/root-tail.username
        Max per-arg length: 1000 chars; max over all args: 10000 chars.
        User-entered arguments must match following patterns:
                Args 1 - 99 must match pattern: [[-/:+.,_a-zA-Z0-9]]
Then, I invoke:
Code:
username@apocalypse:~$ super root-tail
username
/var/log/messages: Permission denied
Why, I followed the instruction at http://www.linux-magazine.com/issue/09/Desktopia.pdf
 
  


Reply



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
permission denied when root? TaNeK Linux - Software 8 02-01-2005 12:39 PM
root gets permission denied Nightfrost Debian 22 11-21-2004 05:19 AM
Permission denied as Root! Thewyzewun Linux - Newbie 3 03-13-2004 11:51 AM
root permission denied xmaspie Linux - Newbie 2 11-05-2003 01:05 PM
permission denied even as root awolff01 Linux - Software 8 02-28-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration