View previous topic :: View next topic |
Author |
Message |
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Sat Oct 21, 2006 6:50 pm Post subject: Why xsane run as root! |
|
|
Hi all,
I've found this configuring my new printer (...MFP ):
Code: | NeXT cdroot # ls -l /usr/bin/xsane
-rwsr-xr-x 1 root root 7112 15 giu 19:47 /usr/bin/xsane |
I've used samsung drivers package that installs scanner and printer drivers in one shot
but reading INSTALL it asked for cups, ghostscript and sane.
Now that's all configured I give a try at xsane
and it came-up with a warning window: "You try to run XSane as ROOT, that really is DANGEROUS!"
than I try as a user but it show again!
Why there is such configuration?
Can I chmod? _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
Tlaloc Guru
Joined: 21 Feb 2005 Posts: 451 Location: Europe - Alps - Tyrol
|
Posted: Sat Oct 21, 2006 7:01 pm Post subject: |
|
|
Do i understand you right that this is a combined scanner/printer device?
For accessing sane/scanner stuff your user has to be in the scanner group!
Bye, val. |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Sat Oct 21, 2006 9:15 pm Post subject: |
|
|
Yes, scanner and printer: scx-4100
Why the ebuild don't make that? I've not a scanner group:
Code: | NeXT cdroot # groups
root bin daemon sys adm disk wheel floppy dialout tape video
NeXT cdroot # |
but now, with these rights
Code: | NeXT cdroot # ls -l /usr/bin/xsane
-rwsr-xr-x 1 root root 7112 15 giu 19:47 /usr/bin/xsane
NeXT cdroot # |
everyone can lunch xsane, that and everyone do that
make the process run with effective uid=0
and then the warning message is shown _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
lagalopex Guru
Joined: 16 Oct 2004 Posts: 562
|
Posted: Sat Oct 21, 2006 9:29 pm Post subject: |
|
|
Look in your /etc/group, there will most likely be a scanner group. Add your user to it.
And mine xsane is not suid root! |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Sat Oct 21, 2006 11:24 pm Post subject: |
|
|
Yes, scanner group is been added!
Have I to chmod /usr/bin/xsane ? _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Mon Oct 23, 2006 5:26 pm Post subject: |
|
|
Sorry,
it don't work if xsane is chmod-ed: no scannes are found!
But xsane warn about root privileges! _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Oct 23, 2006 5:30 pm Post subject: |
|
|
If that's a usb device you probably need to be in the usb group too _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Mon Oct 23, 2006 9:47 pm Post subject: |
|
|
Yes, he is!
This user can use usb devices: how can I check that /dev/{scanner} has the same rights as the other devices?
Whta's the dev node for scanner? _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Wed Oct 25, 2006 6:07 pm Post subject: |
|
|
I'm posting here again but maybe a new post is needed fot this ossevation: pleace help!
I've found an inconsistency in the man page for useradd command and how it work for me.
Man page says that defualt gid for the new account is 1 if -g option is not used.
I've created 3 account with the handbook procedure( http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=11 ) and a new group has been added for each user.
These are my group and passwd:
Code: | # less /etc/group
bin:x:1:root,bin,daemon
laj:x:1000:
lina:x:1005:
oriana:x:1006:
# less /etc/passwd
laj:x:1000:1000::/home/laj:/bin/bash
lina:x:1001:1005::/home/lina:/bin/bash
oriana:x:1002:1006::/home/oriana:/bin/bash |
I think this can be related with the xsane problem cause of the bin group ID is 1.
But why we must have all these groups? _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
|