LinuxQuestions.org
Register a domain and help support LQ
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-02-2004, 06:02 PM   #1
Stalkz
Member
 
Registered: Mar 2003
Location: Teh 518
Distribution: SuSe
Posts: 68

Rep: Reputation: 15
I installed Blackbox correctly, but...


It said the most common way to use it is to type "blackbox" at the end of my xinitrc file. I did that, (I dont know if I put it in the right part of the file but whatever) but anyways, I went to save and it wouldn't let me. It said to see if I have permission.


Instead of setting a root password I put "No password" because I hate having to type it in. Is this why? I'm using Mandrake 9.01
 
Old 03-02-2004, 06:05 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
You need a root password. It's a security basic. At the moment, anyone can get root access to your box and either mess it up for you or add in dodgy programs. Add a password for root - esp. if you are on the net.

What said you need to edit the file? Did you edit as root or as a normal user?
 
Old 03-02-2004, 06:06 PM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Are you trying to edit your own .xinitrc or a global one? Unless you want all users to have blackbox when they run X, all you need to do is edit /home/yourusername/.xinitrc and add the line:

exec blackbox

at the end.

I would strongly recommend setting a root password. Unless you want to give me your IP address so I can login as root on your machine without typing in a password
 
Old 03-02-2004, 06:10 PM   #4
Stalkz
Member
 
Registered: Mar 2003
Location: Teh 518
Distribution: SuSe
Posts: 68

Original Poster
Rep: Reputation: 15
I'm the only one who uses my computer, and hence am the only name.


I've never cared about the whole hacking thing.
 
Old 03-02-2004, 06:14 PM   #5
Stalkz
Member
 
Registered: Mar 2003
Location: Teh 518
Distribution: SuSe
Posts: 68

Original Poster
Rep: Reputation: 15
Update, there's no /home/stalkz/.xinitrc

The only one I know if is in /etc/X11/xinit/

and I'm not sure that's the right one.


Quote:
Originally posted by XavierP What said you need to edit the file?

The readme
 
Old 03-02-2004, 07:37 PM   #6
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by Stalkz
I'm the only one who uses my computer
Well, if you don't have a root password and are on the internet at all, that may not be true for long Especially if you have some of the default services like sshd (secure shell daemon) running; IP addresses aren't hard to find out, and the next line of defense is usually the password. Having *some* password is better than none.

Anyway, if /home/stalkz/.xinitrc doesn't exist already, you can just create it.
 
Old 03-02-2004, 07:57 PM   #7
Stalkz
Member
 
Registered: Mar 2003
Location: Teh 518
Distribution: SuSe
Posts: 68

Original Poster
Rep: Reputation: 15
Yeah. Ok.

Anyways, I reinstalled because I found out Blackbox is available to be installed from the installdisc itself, but I still can't edit files. I have a root password now just for the sake of arguement because that might've been why I couldn't edit it, but now I can't edit my blackbox-menu file. Do I have to do something special to edit files NOT directly in my home dir?
 
Old 03-02-2004, 08:01 PM   #8
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
You can either su to root and edit them, or, if they aren't at risk, you can change the ownership of the file (using chown) or change the permissions (using chmod). It would probably just be easier to su to root, and edit the file from there.
 
Old 03-02-2004, 08:07 PM   #9
Stalkz
Member
 
Registered: Mar 2003
Location: Teh 518
Distribution: SuSe
Posts: 68

Original Poster
Rep: Reputation: 15
I don't know how to do that (login as root). I would have already if I did
 
Old 03-02-2004, 09:30 PM   #10
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Most of the time, unless you're doing system-wide configuration, you don't need to edit anything outside of your home directory.

To login as root, open up a console window or Xterm, and type:

su -
(type root password)

(that's s, u, space, hyphen)

If that does not work, you may have a restriction on who can become root in this way; you should be able to get a normal login console by pressing control-alt-F1, or control-alt-F2, F3, etc. (until you see a screen that says "login:"). Login as root using your password.
 
  


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
Is Lame installed (correctly) ? skr Linux - Newbie 5 05-26-2004 11:30 AM
im not sure if i installed driver correctly Kilahchris Linux - Hardware 1 05-05-2004 02:09 AM
How do I know if a program was installed correctly? glenn69 Linux - Newbie 3 04-23-2004 10:46 PM
-=-=-=-=how Do U Know If 2.6.0 Kernel Is Installed Correctly=-=-=-=- linuxbullet Linux - General 1 01-29-2004 02:56 AM
OK I believe I have AS installed correctly... jarget Linux - Newbie 1 08-25-2003 05:38 PM


All times are GMT -5. The time now is 02:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration