Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-13-2002, 10:49 PM   #1
LQ Newbie
Registered: Oct 2002
Posts: 21

Rep: Reputation: 15
using red-carpet without logging out and logging as root.

I'm trying to figure out how I can use red-carpet without logging in as root. I know it can be done because when I was using Mandrake 9.0, as soon as I start red-carpet as non-root user, I get window asking root's password. Now I'm using RedHat 8.0, and it won't ask me for password and automatically start red-carpet as nonroot user. Does anyone know how I can change this??
Old 12-09-2002, 02:55 AM   #2
LQ Newbie
Registered: Dec 2002
Location: Reno, Nevada
Distribution: RedHat
Posts: 22

Rep: Reputation: 15
There are a number of ways to do this.

The simplest is just to use su - root and then run the command.

The way RedHat does it is they symlink the program name to consolehelper in /usr/bin They then have a file in /etc/security/console.apps called the name, redcarpet, of the program that contains something like


So that when when you run redcarpet it really runs consolehelper that realizes you want to run redcarpet. It looks in the file, finds the correct path, gives you a prompt and if correct executes it as root for you.

If you are using an alternative form of authiecation, aka something other than passwd/shadow, then you will probably also want to setup a /etc/pam.d file called the name of the program.

You shouldn't have problems with X permissions when doing either of the above, but if you do you can use xhost +localhost to give all local users permission to open things to the current X session.


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
Logging in as root rob250 Linux - Newbie 6 08-03-2004 02:46 PM
Logging in as Root The Oate Mandriva 15 08-02-2004 02:44 PM
root required to update using Red Carpet?? timsch75 Linux - Software 5 04-05-2004 04:31 AM
Logging in as a root??? FastSwimmer Mandriva 4 03-01-2004 04:05 AM
logging on as root dicom Linux - Software 5 10-29-2003 03:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 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