| Author |
Message |
Gordin
|
|
Post subject: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 11:45
|
|

Joined: 2010-10-19
Posts: 3
Status: Offline
|
|
Hi there guys.
I've changed my notebook. So I installed aptosis-kde-lite-686 in it.
I'm facing a few doubts and I would like to ask you for help:
1ª - Whenever I try to invoke sudo something, I get this result: "user is not in the sudoers file. This incident will be reported.". How can I allow my user account to invoke it, so that I don't have to use 'su' everytime I need to update, upgrade, install, remove or something like that;
2ª - I guess this one is related to the prior: In my user account I can't write, change or delete any file in my sda4 partition (the one I use as storage);
3ª - How can I use/administrate my laptop's bluetooth?
4ª - How can I fix my keyboard's lights? The notebook is a LG R480-3700 and it has 4 lights in the keyboard (mute, decrease sound, increase sound and SRS). They keep flashing from to the fourth, just like some christmas tree.
Thx for the support guys. |
|
|
| |
|
|
|
 |
devil
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 12:26
|
|

Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
|
|
1 you need to edit the file visudo.
2 show us ls -la /media<whatever_its_called>
3 what apps are installed? there is bluedevil and/or bluez.
start them after install an seewhich one works better for you.
greetz
devil |
|
|
| |
|
|
|
 |
Gordin
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 12:29
|
|

Joined: 2010-10-19
Posts: 3
Status: Offline
|
|
@devil:
1 - which edits should I do in the file visudo?
2 - gonna post it as soon as I get home and access my note;
3 - gonna try them and post the result.
Thx man! |
|
|
| |
|
|
|
 |
devil
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 12:47
|
|

Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
|
|
|
|
|
 |
sx9
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 14:33
|
|

Joined: 2010-09-12
Posts: 219
Location: Wiesbaden,Germany
Status: Offline
|
|
It's not visudo to edit, you should edit /etc/sudoers.
You can do it by entering visudo (as root) in a terminal.
One thing you can add to sudoers:
Code:
[user name] ALL=NOPASSWD: ALL
Lets the specified user access sudo without a password:
Code:
[user name] ALL=PASSWD: ALL
The same thing, but with the requirement of a password.
You can also set it up so, that you only allow nopasswd access to some files:
Code:
[user name] ALL=NOPASSWD: [file list]
After you have modified it in visudo, press ESC, enter :save and a destination(it is not possible to overwrite /etc/sudoers in visudo).
For example:
:save /etc/sudoers-new
IMPORTANT:
Do this before you overwrite /etc/sudoers with the new file or you'll never get root access again!!!
Code:
chmod 440 [new sudoers file - here /etc/sudoers-new]
Then overwrite the /etc/sudoers with the new file.
Now sudo should be configured. |
|
|
| |
|
|
|
 |
Gordin
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 16:10
|
|

Joined: 2010-10-19
Posts: 3
Status: Offline
|
|
@devil:
bluedevil worked great, thx!
Here's the answer of the command ' ls -la /media/disk1part4/':
-------------------------------------------------
total 28
drwxr-xr-x 7 root root 4096 Out 19 14:07 .
drwxr-xr-x 4 root root 4096 Out 19 14:00 ..
drwxr-xr-x 21 root root 4096 Out 19 00:16 estudos
drwxr-xr-x 5 root root 4096 Out 18 22:54 filmes
drwxr-xr-x 11 root root 4096 Out 18 23:00 fotos
drwxr-xr-x 79 root root 4096 Out 18 23:53 musicas
drwxr-xr-x 7 root root 4096 Out 19 14:07 trampos
-------------------------------------------------
edit: I just solved it: went to 'konsole'; typed 'init 3'; logged as root; called 'startx'; and then changed the permissions through Dolphin, right-cliking in it, and messing in the 'properties/permissions' tab.
Thx again guys. Now I just need to find out what to do about the keyboard lights.
@sx9: it worked! thx! |
|
|
| |
|
|
|
 |
devil
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 19.10.2010, 19:45
|
|

Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
|
|
well, that was the complicated way.
the easy way is, as root: chown -R your_user:your_user /media/disk1part4
greetz
devil |
|
|
| |
|
|
|
 |
sx9
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 20.10.2010, 00:01
|
|

Joined: 2010-09-12
Posts: 219
Location: Wiesbaden,Germany
Status: Offline
|
|
|
Quote:
chown -R your_user:your_user /media/disk1part4
I often use this, too, because I create huge files like squashfs' sometimes from USB-aptosid-systems on my fixed-aptosid-home-folder. The file has got crazy attributes (like sticky, executable or 400 [owner: read - group: nothing - else: nothing] or even 000 state ) after that and the user that has owned this file doesn't exist on my HD-Installation.
I solve the attribute-problems with chmod. |
_________________ My new self-made computer:
Intel Core i7-2600k
ASUS Maximus IV Gene-Z (Mainboard)
2x4GB DDR3 RAM
ATI Radeon HD 6770
OCZ Vertex 3 60GB (SSD)
Western Digital Caviar Green WD20EARX 2TB (HDD)
...
aptosid x86_64
|
| |
|
|
|
 |
cookdav
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 02.11.2010, 19:59
|
|

Joined: 2010-10-08
Posts: 18
Location: Manchester,NH and Sarasota,FL
Status: Offline
|
|
[This was 'best' note I found, searching for Bluetooth. Sorry for thread hi-jack.]
A reply from Devil suggested trying the packages 'bluez' and 'bluedevil'.
Well, 'bluez' is installed by default, and that does NOT get me a bluetooth-icon in the
sys-tray, when I plug either of my two bluetooth USB-adapters in.
So, based on another reply (saying 'bluedevil' worked for them), I installed the package
'bluedevil'. Had to reboot, but THEN I DID get the bluetooth-icon in the sys-tray.
So, I figured I was 'good to go'.
Nope. The problem then, was that my cellphone (LG VX-8300)
wouldn't pair with either USB-bluetooth-adapter (tried each, sequentially, with reboots).
And, this cellphone DID previously pair with both USB-adapters,
about a year ago, under MEPIS.8.0/KDE-3.x.
Fwiw, the MEPIS-8.5 folks assert that Bluetooth/KDE-4.x has been an 'unhappy marriage'.
For another 'data-point', I booted up Kubuntu 10.04, and my USB-adapters DO cause a
Bluetooth-icon to appear in sys-tray there. (They seem to have 'bluez' loaded...no sign
at all that they've even heard of 'bluedevil'.)
When I posted a query in MEPIS forums, saying I had 'bluedevil' loaded as:
Candidate: 1.0~rc3-2
Version table:
1.0~rc3-2 0
500 http://ftp.us.debian.org/debian/ sid/main i386 Packages
100 /var/lib/dpkg/status
someone suggested:
"Install BlueDevil 1.0rc4, (sid is bluedevil (1.0~rc3-2))"
Anyone have Bluetooth-pairing working with a USB-bluetooth-adapter under
aptosid, who can advise what the issues might be and/or what to try?
TIA... |
_________________ antiX-8.5 'rolls on testing-repo'
LAPTOP: MEPIS-11-RC1/aptosid/Vista
video:Intel945
LAPTOP#2: Win-7/aptosid
Video: Intel4
DESKTOP: aptosid/antiX-8.5/Win-XP
|
| |
|
|
|
 |
slam
|
|
Post subject: RE: bluetooth, keyboard lights and user rights
Posted: 03.11.2010, 07:09
|
|
Team Member

Joined: 1970-01-01
Posts: 606
Location: w3
Status: Offline
|
|
|
|
|
 |
|
|