LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-28-2006, 09:32 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
How do I login as root so I can run guarddog?


When I try to run guarddog in console, I cannot start it with root priveledges so I cannot make any changes.
Other than sudo, how can I start guarddog?
This is only under Windowmaker, in KDE i use the graphics icon and it works.

Thank you.
 
Old 03-28-2006, 09:54 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Can you not log in to your GUI as root?

In any event, you can always run it from the command line...two ways;
1 sudo command
2 su, password, command
 
Old 03-28-2006, 10:48 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by pixellany
Can you not log in to your GUI as root?

In any event, you can always run it from the command line...two ways;
1 sudo command
2 su, password, command
I can, but only in KDE, not windowmaker. I can start guarddog`s gui in windowmaker but I do not have root priveledges.
I dont know how to setup sudo and I have not tried suggestion number 2. Ill give that a try. Thanks.

Last edited by M$ISBS; 03-28-2006 at 10:51 PM.
 
Old 03-28-2006, 10:56 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you have KDE installed, you can also start a terminal (even in windowmaker) and do "kdesu nameOfGuarddogGui", enter the root password and the gui should run. It could be a good idea if you figured out how to run services from the command line without a GUI just in case your gui ever gives you problems.
 
Old 03-28-2006, 10:58 PM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Well, guarddog starts up as user bu without priveledges of course, but does not start up at all when logged in as root. I have tried to find the executable but cannot.
To start guarddog I simply type its name, why would it start as a user but not for root?
 
Old 03-28-2006, 11:02 PM   #6
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
The kdesu thing seems to have worked but when I quite guarddog I got this message in the console.....

Session management: could not open network socket.

Is that something to worry about?

Last edited by M$ISBS; 03-28-2006 at 11:03 PM.
 
Old 03-28-2006, 11:08 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by M$ISBS
The kdesu thing seems to have worked but when I quite guarddog I got this message in the console.....

Session management: could not open network socket.

Is that something to worry about?
I am not sure. Enter the error message on google and see if there are any discussions about this on other sites.
 
Old 03-28-2006, 11:29 PM   #8
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Ok, Thanks.
 
  


Reply


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
How to run a script as root upon login zugvogel Linux - Newbie 7 09-09-2005 11:10 AM
login run from root-owned xterm garba Linux - Security 2 07-23-2005 11:19 AM
How to run a Script as root, after Login as User, in GDM MHOOO Red Hat 14 03-08-2005 08:41 AM
Run program from root login as non-priveledged user? pr0wl3r Linux - Security 3 08-17-2004 09:52 PM
Why not run always login as root? KaptinKABOOM Linux - General 8 07-18-2004 07:23 AM

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

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