Debian Configuration :: Only Root Can See Scanner?
Aug 20, 2010
Having successfully installed SANE and gotten a scan from my ancient Mustek scanner, I thought I had it setup. But that was running in the root terminal window. When I try to run xscanimage from GIMP in my normal user account it doesn't start up. Running xscanimage in a normal terminal it says it can't see any scanners. Yes, I added my user account to the scanner group. What else needs to be done to let a normal non-root user access the scanner?
View 4 Replies
ADVERTISEMENT
Mar 12, 2010
There is a problem with scanning on Brother multifunctional under Debian Squeeze/Sid. I get things smooth and good under root (both scanimage and xsane), but under user it gives
Code:
scanimage: open of device brother3:bus6;dev1 failed: Invalid argument Obviously as under root works fine, lsusb has no problems with detection.
Code:
Bus 005 Device 010: ID 04f9:01ea Brother Industries, Ltd
Already fixed /etc/fstab:
Code:
none /proc/bus/usb usbfs auto,devmode=0666 0 0
but it is useless anyway. I had already used the scanner under simple user in ubuntu and it all worked.
View 2 Replies
View Related
Dec 6, 2010
I added myself to the scanner and saned groups, however scanimage -L only detects the device when run as superuser. I think this may be related to [URL].
root@icecream:/home/discord# scanimage -L
device 'epson2:/dev/sg0' is a Epson GT-9800 flatbed scanner
discord@icecream:~$ scanimage -L
No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
View 1 Replies
View Related
Oct 22, 2010
my scanner used to work in lenny, now im using squeeze fresh install.
i intall hplip with synaptic in order to setup my scanner, printer is working, i dont need the fax, but the scanner is not working with xsane.
normal user and sudo see the scanner with
$ scanimage -L
device `hpaio:/usb/HP_LaserJet_M1319f_MFP?serial=N830003' is a Hewlett-Packard HP_LaserJet_M1319f_MFP all-in-one
$ sudo scanimage -L
device `hpaio:/usb/HP_LaserJet_M1319f_MFP?serial=N830003' is a Hewlett-Packard HP_LaserJet_M1319f_MFP all-in-one
code....
i know my user is in group lp and scanner root cant use the scannner either.
View 1 Replies
View Related
Jul 11, 2010
I just received a Canon Pixma MX320 as a gift.
I am currently running the Ubuntu 10.04 OS
I was able to get the printer up and running by downloading the printer driver for debian linux (3.1) from the Canon site without any problems.
Unfortunately I am not having the same luck with the scanner.
I tried downloading ScanGear MP for Linux (deb) (1.3) from the same Canon site but have not yet been able to get the XSane Image Scanner to recognize this scanner driver for my Canon.
View 2 Replies
View Related
Sep 28, 2015
I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
View 12 Replies
View Related
Oct 28, 2015
Installed Debian 8.2 a while back, and I've been having issues with getting the machine to suspend correctly. If I try to put it to sleep when logged in to my regular user account the screen just goes black and then the computer hangs. However if I put it to sleep as root everything works fine. I do this by running this command (as root):
Code: Select allsystemctl suspend
What can I do about this? Worked fine on Debian wheezy..
Btw, just found this in the dmesg log. Connected perhaps..?
Code: Select all[Â Â 6.863018] ACPI Warning: SystemIO range 0x00000000000018e0-0x00000000000018ff conflicts with OpRegion 0x00000000000018e0-0x00000000000018ef (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-258)
[Â Â 6.863028] ACPI:
If an ACPI driver is available for this device, you should use it instead of the native driver
View 7 Replies
View Related
Jan 27, 2016
I think my root drive is 100% full causing strange problems with my video server. What steps can I use to see what's taking up the room on the drive and perhaps identify files that can safely be deleted?
Code: Select allroot@lenny:/# df -h
Filesystem        Size Used Avail Use% Mounted on
/dev/sda2Â Â Â Â Â Â Â Â Â 55GÂ Â 53GÂ Â Â 0 100% /
udev           10M   0  10M  0% /dev
tmpfs          793M 1.1M 792M  1% /run
[code]...
View 14 Replies
View Related
Feb 11, 2010
For my dissertation I created a debootstrap install of Lenny. When I boot this system I just can login with root without a password. When I want to ssh this machine with the debootstrap install I can't just login with root. I'm asked for a password which I don't have.
So I created one with passwd root and after that I can connect to the machine with ssh and the given password. But the machine still logs in with without a password.
View 3 Replies
View Related
Jan 17, 2011
I'm configuring some security and i'd like to run arpon to a specific device everytime wicd connects.So, if Wicd connects to a wireless, i'd launch gksu arpon -d -i eth2 (for example.) But this doesn't work, because it seems that gksu only works for X apps.I found that if i do: gnome-terminal -e 'sudo arpon -d -i eth2' It works, but it leaves me with a terminal window open, and i'd like to be asked for a password gksu style.I've also tried this: gksu -- arpon -d -i eth2which also works, but the program quits right after it's started.Am i missing something here?
View 14 Replies
View Related
Feb 17, 2011
We have setup Squeeze a Test machine , just for some tests, without network, Internet etc. and we need to allow root login in Gnome.
We've changed /etc/gdm3/daemon.conf:[security]
AllowRoot=truebut still doesn't work.
View 4 Replies
View Related
Jun 25, 2011
my debian laptop this morning ,saw that the update manager had updates..97 of them??? then when tried to view them the package manager freezes and becomes unresponsive. needed to do a few things and found my root password is NOT working. this all happened at the same time, i wonder if its related? have i been hacked? is this something new? cant reset root password (tried two methodeds with no luck) and cant view the updates altho i question 97 new updates are needed.
View 7 Replies
View Related
Jul 15, 2011
I try to allow root login in ssh on wheezy usb-hdd LIVE using this script in config/chroot_local-hooks:
This script was working well during squeeze usb-hdd live creation.
View 5 Replies
View Related
Jan 23, 2016
Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.
View 11 Replies
View Related
Apr 28, 2016
I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.
In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".
By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.
When I try the "startx" command, I get a "read-only" error.
With the command "sudo mount -o rw,remount /" the graphic interface is started.
Below is the configuration of the partition under the gnome disk utility tool :
"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked
Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto
I do not want to change anything that could leat to a critical error. So what do you think I should do ?
View 1 Replies
View Related
Jan 18, 2011
I have the partition like below. Now i want merge the /home partition into /dev/sda1 partition .
[Code]...
View 4 Replies
View Related
Feb 12, 2011
Before I ask I know what I'm asking is not recommended.
On Lenny It was possible to change the boot login to permit logins as root
I can't find how to do that since I installed Squeeze.
View 10 Replies
View Related
Mar 9, 2011
I have squeeze with gnome. Various apps let me log in as root when needed to but if I logout as a user and try to login as root it won't let me (won't authenticate password). I had this problem before and reinstalled Debian and definitely checked for it to allow me to do this and it worked for a while after new install. Apparently some update overrode my preferences. This is a major defect and may force me to abandon Debian. I don't use root often but I don't have any use for a operating system that won't let me use it. Anyone know how to correct this. I am not interested in using a terminal on a regular basis or ever for that matter.
View 14 Replies
View Related
Jun 29, 2011
on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.
View 6 Replies
View Related
Aug 4, 2011
I just installed Debian 6 on a server and when the server powers up, it shows me all the accounts I created in order for me to choose and login under an account, except for the root account. At the colo where the server is going, they need the root account at the login screen.
View 11 Replies
View Related
Sep 4, 2011
Reinstalled Debian Squeeze (64bit/gnome) on my Notebook using Netinstall. Everything worked like always but in the setup instead of typing in a root password as asked to i just pressed enter (in the hope of not having to type in a pw in the console later, just having to press enter then)
When i needed rootpw to install some software (using SoftwareDownloader) the normal loginpw seemed to work, but not in the console.
ari@HP625:~$ su -
Password:
su: Authentication failure
[Code]....
View 3 Replies
View Related
Jun 19, 2014
I installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )
Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):
Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374
Adding user `paul374' ...
Adding new group `paul374' (5000) ...
Adding new user `paul374' (5000) with group `paul374' ...
Creating home directory `/home/paul374' ...
[Code] ....
So since I read somewhere that selinux had some permission problem, so I did a few chcons:
Code: Select allchcon --user=u --role=r --type=init --range=s0 /etc/passwd
chcon --user=u --role=r --type=init --range=s0 /etc/shadow
chcon --user=u --role=r --type=init --range=s0 /etc/gshadow
And it did take effect:
Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd
      u:r:init:s0 passwd
u:object_r:unlabeled:s0 passwd-
root@android-6c40984c21c156ae:/# ls -Z | grep shadow
      u:r:init:s0 gshadow
u:object_r:unlabeled:s0 gshadow-
      u:r:init:s0 shadow
u:object_r:unlabeled:s0 shadow-
...but still same thing as what happened in the beginning...
Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)
If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...
I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.
View 8 Replies
View Related
May 7, 2015
I'm using Debian Jessie Cinnamon right now. I've got 1 user account on my machine--fred--as well as root, of course. "fred" is an administrator, and many times that is enough for root priviledges, for example, I can install packages via apt or dpkg. However, I cannot access "Users and Groups", or install packages via GDebi, with my password. For that, I have to have the root password.
I know that it is possible to let the admin account handle everything and not even need root--for example, Mint and (I believe) Ubuntu do it this way. I don't know how, though.
Code: Select allgroups fred
fred : fred cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth
I did disable the root account by Code: Select allsudo passwd -l root to see if it would make any change. Nothing different happened except that I now can't use GDebi or access "Users and Groups" since the root account and therefore password is inactivated. Not a big deal to get it back, though.
View 10 Replies
View Related
Apr 12, 2016
I have lost my password for my root and for my user account.
Code: Select alluser@debian:~$ su
Password:
su: Authentication failure
user@debian:~$ su
Password:
su: Authentication failure
user@debian:~$ su
I have just installed a gust debian 8 on debian 8 host in virtualbox, and when i wonted too login as su/root on the host there where no login possible, is there a way to regain the root password for the host?
View 2 Replies
View Related
Mar 4, 2010
My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?
View 8 Replies
View Related
Mar 25, 2010
The system crontab (/etc/crontab) uses the same format, except that the username for the command is specified after the time and date fields and before the command.
[code]...
Every hour, I get an e-mail complaining about the first line of the crontab:
[code]...
I get the same complaint from the other entries: It looks to me as if cron, or anacron, is trying to execute the user (root) as a command. Predictably, the shell doesn't like it, so barfs and triggers an e-mail about it. Why is this not doing what the man page says it should do? The 2nd problem I believe is related to exim, not cron. The e-mails I'm getting above are being bounced from my ISP because they are directed to root@myisp.com, rather than my regular e-mail address. When the message bounces, it bounces to my regular e-mail address. In /etc/aliases, I have root: [URL]... and in etc/email-addresses I have root: [URL]... Adding the entry to /etc/email-addresses allowed the bounce to find me because the sender's address is [URL]... but how can I get cron to send these messages to me in the first place, instead of root?
View 11 Replies
View Related
Jun 7, 2010
I am using a kernel with no initrd. I have had this kind of panic before. Usually it means that the kernel can access the hard drive because the driver for the controller or filesystem isn't built into the kernel.
The kernel is 2.6.34 vanilla.
My IDE controller is a Silicon Integrated Systems SiS 5513, and I built the driver for it into the kernel BLK_DEV_SIS5513=y
My /boot (hda1) is ext2, and everything else is ext3
EXT2_FS=y
EXT3_FS=y
My grub entry (hda2 is my root partition) kernel (hd0,0)/vmlinuz root=/dev/hda2
View 5 Replies
View Related
Oct 13, 2010
I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:
joseph@laptop:~$ ping 192.168.1.14
PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
From 192.168.1.9 icmp_seq=2 Destination Host Unreachable
[code]...
View 1 Replies
View Related
Jan 21, 2011
My debian server has been attacked due to a security breach in exim4 4.69-9 (probably applies to loads of other versions too). The security breach allows the attacker to get root access by creating a buffer overflow in a header which then can be used to inject code.
[URL]
The securtiy breach is fixed with 4.69-9+lenny1 I want to share my actions with you on what I did to (hopefully) get rid of it. However at the time of writing this, the above website is down due to too much load (DDOS Attack?). How you can check if you've been attacked:
The attack creates a buffer overflow in exim4, which results in paniclog entries.
$ cat /var/log/exim4/paniclog
2010-12-17 07:34:11 string too large in xxxyyy()
2010-12-19 10:42:10 string too large in xxxyyy()
this would be an example of two attacks. One on 2010-12-17 and the other two days later 2010-12-19.with this information you can start find potentially infected files. There may be a better way, but I searched for them with this command:
$ find / -mtime 31 2>/dev/null # files,directories,links created 31 days ago (i.e. 2010-12-17)
My infected files:
/usr/bin/uptime
/usr/bin/pwdx
/usr/bin/slabtop
[code]....
View 4 Replies
View Related
Mar 28, 2011
I upgraded a Guruplug Display machine running Lenny to Squeeze. It's running Linux on a MicroSD device, running an ARM-cpu.
# uname -a
Linux gplugD 2.6.29 #1 Wed Feb 16 17:59:04 IST 2011 armv5tejl GNU/Linux
yeri@gplugD ~ $ cat /etc/debian_version
6.0.1
However, after rebooting, every non root user was unable to access anything related to the net.This means, DHCP failed to auto start, ntp is giving errors, etc
# ntpq -p
localhost: timed out, nothing received
***Request timed out
daemon.log:
Mar 27 06:07:44 localhost ntpd[1478]: ./../lib/isc/unix/ifiter_ioctl.c:348: unexpected error:
Mar 27 06:07:44 localhost ntpd[1478]: making interface scan socket: Permission denied
Mar 27 06:07:44 localhost ntpd[1478]: Too many errors. Shutting up.
As root:
gplugD ~ # ping 85.12.6.171 -c 1
PING 85.12.6.171 (85.12.6.171) 56(84) bytes of data.
64 bytes from 85.12.6.171: icmp_req=1 ttl=58 time=42.1 ms
[code]....
View 1 Replies
View Related