Can’t logon after attempting to install scanner solved

Questions about the project and the distribution - obviously no support questions here please
Post Reply
burkesbythebay
Level 1
Level 1
Posts: 2
Joined: Mon Sep 15, 2008 3:35 am

Can’t logon after attempting to install scanner solved

Post by burkesbythebay » Mon Sep 15, 2008 3:38 am

Background

I downloaded the Scanner driver for my scanner and installed it and it worked

Next I tried to follow the steps listed on the below brother link under ubuntu Hardy heading to get the scanner to work under a normal account as it was only working for root

http://solutions.brother.com/linux/en_u ... scn1c.html

I replaced all of the original contents of /etc/udev/rules.d/40-basic-permissions.rules" file.with the bolded section under hardy on the brother link

Problem

After I rebooted I can’t not login to X under my normal account. System locks up after putting in the password

I created a new test account but it does the same thing

The only account I can login as is root

I know the change in the 40-basic-permissions.rules as it is the only system change I made.

I did a stupid thing and didn’t backup 40-basic-permissions.rules before I made the change

Can anyone post an original 40-basic-permissions.rules for me to copy or advise me how I can fix the login problem

Also what should I have done to get the scanner working as a normal user

I am running the latest version of Mint

Regards
Burkesbythebay

Husse
Level 23
Level 23
Posts: 18701
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Can’t logon after attempting to install scanner

Post by Husse » Tue Sep 16, 2008 7:59 am

replaced all of the original contents
A big mistake! You obviously did not read the instructions! That is extremely important
Here is the original /etc/udev/rules.d/40-basic-permissions.rules
What you should do is change 0664 to 0666 in the USB section - two digits nothing more
Hope this solves it

Code: Select all

# This file establishes permissions and ownership of devices according
# to Ubuntu policy.  See udev(7) for syntax.
#
# The names of the devices must not be set here, but in 20-names.rules;
# user-friendly symlinks (which need no permissions or ownership) should
# be set in 60-symlinks.rules.

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device",		MODE="0664"

# vc (virtual console) devices
SUBSYSTEM!="tty", GOTO="vc_end"
KERNEL=="console",			MODE="0600"
KERNEL=="ptmx",				MODE="0666"
KERNEL=="tty",				MODE="0666"
LABEL="vc_end"

# Miscellaneous devices
KERNEL=="null",				MODE="0666"
KERNEL=="zero",				MODE="0666"
KERNEL=="full",				MODE="0666"
KERNEL=="random",			MODE="0666"
KERNEL=="urandom",			MODE="0666"
KERNEL=="inotify",			MODE="0666"
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

burkesbythebay
Level 1
Level 1
Posts: 2
Joined: Mon Sep 15, 2008 3:35 am

Re: Can’t logon after attempting to install scanner

Post by burkesbythebay » Tue Sep 16, 2008 10:20 pm

Thanks y Husse i managed to get an original file of someone on irc after reading the rest of your reply i realized my error.

once again thanks for your help

burkesbythebay

Post Reply

Return to “Non-technical Questions”