Ubuntu :: Cups Password / Add A Root Users To Access 127.0.0.1:631 Interface For CUPS?
Feb 26, 2010I know this is listed somewhere but I cannot seem to find it -
How to I add a root users to access the 127.0.0.1:631 interface for CUPS?
I know this is listed somewhere but I cannot seem to find it -
How to I add a root users to access the 127.0.0.1:631 interface for CUPS?
I'm unable to access the CUPS interface (localhost:631). I used to be able to, but now, everytime I try to, a Page load error comes up with "can't establish a connection to the server at localhost:631." I searched the Ubuntu forums and Google and tried a few things (including installing CUPS v1.3.9) with no change. I've tried stop and staring cups, but nothing is working. Has anyone come across this issue and found a fix for it?
View 5 Replies View RelatedI have, on numerous times, tried to set up a wireless printer using CUPS. with each attempt it repeats a query asking for the username and password (root password). After entering both the window disappears, pauses and again repeats the same request. It appears that it will not accept the root password even though it works in other cases such as becoming a root user.
View 2 Replies View RelatedI have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems.
But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine
Running: Ubuntu 10.10
I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:
- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port)
- uninstalling cups... (update manager nags)
- fuser -k 631/tcp (great, but @ reboot the port is still open)
Please teach me how to close this port / stop this service / tell update manager to shove cups.....
I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.
If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:
172.16.10.52 - - [22/Mar/2011:11:11:40 -0500] "POST /printers/103_hp4250 HTTP/1.1" 200 306 Create-Job client-error-not-authorized
and error_log shows:
E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52
We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.
cupsd.conf on sysadmin looks like this and is as open as I can imagine:
ServerName sysadmin
ServerAlias *
ServerAdmin webmaster
FileDevice Yes
SystemGroup staff
LogLevel info
code....
Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.
I just know that it's something simple that's going to make me facepalm but I'm at a loss.
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.
My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?
I can connect to the HTTP cups interface (localhost:631) but if I need admin priviledges, giving my id/pwd doesn't work. I don't see any "cups" group defined.
Otherwise, how do I enable a printer? I could disable it using the KDE printer management interface, but I can't re-enable it using same... Answer: /usr/sbin/cupsenable
installed lenny and am trying to install brother dcp7010 again:
1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.
2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de
it ends with
" lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt
lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt"
(connection to server not possible, refused)
3)[URL] doesn't work.
4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)
This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.
opensuse v11.3
linux 2.6.34.7-0.5-desktop x86_64
I must have done something while wandering through the CUPS web interface but I cannot say what it was. Nevertheless, now I must enter a password every time I print a document.
installed cups on my debian lenny PC and can't login at [URL] using lynx (console only machine).
[Code].....
I am trying to configure CUPS and when I click on Adminitrator to Add A Printer, I get Forbidden after entering my root username and password. Anything I'm doing wrong?? In the past, it was just a matter of putting my username and password and walking though the installation. The printer is connected to the computer via USB and is being seen on the machine.
View 2 Replies View RelatedIm trying to config my intranet to be accessible from inside the network (lan) without need of password and ask for a passwd for those who are viewing from Wan ....
Today my intranet can only be accessed from Lan, external access give me an Unauthorized message, I took look around, try #irc and still can get the appropriated help, I hope that someone here could help me on that...
A piece of my config:
Code:
I m Trying to get vsftpd usergroups to work i accidentally moved a file called passwd from /etc/vsftpd/ to /etc/, resulting in my root access is destroyed! how to restore the passwd file so i can keep working, or do i have to re-install the entire box?
View 4 Replies View Relatedregarding the file permissions of /etc/passwd in fact it has permissions like rw-r--r--so it says others have only read only permissions but my questions is if others has read only permissions on /etc/passwd file.how they are able to change their password i.e others are able to change their passwords then how it is possible.
View 3 Replies View RelatedInstalled fedora/configued samba, shared printer and i am not able to access shared printer from any of the fedora machine. I am able to access the printer /shared folder from windows machine. I dont know the process of cups installation.
View 1 Replies View RelatedSo i have a fresh install of the server edition of Karmic, i'm running the Xfce desktop. When I attempt to manage users and groups through the GUI, I am prompted for what I think is the root password, the reason I say this is because the account I am currently logged in has sudo privileges and it does not accept that password at all, but I read that by default the root account is 'locked,' (to be honest it was so long ago since I last installed Ubuntu I completely forgot if it is or isn't, my current desktop installation has su access) is it asking for the root password? why doesn't my current user account password work if the root account is 'locked'? I can perform all other administrative tasks with sudo no problem.
the funny thing is, I have the exact same setup in a virtual machine, the same problem happens, except for some strange reason after changing the password on the only account (besides root), the password required to administer users and groups stayed the same after the change. (at the time of installation I just put both the user and root password the same and now that it is setup), i'm now ready to change the passwords. except now I read that the root account is locked by default, but this strange problem occurs.
My question is probably very common, but I didn't find an answer.I have several computers, each with different user. Each user has a shared folder in samba. I want all users to access all these shares with a single login/password (not with the login/passw of each particular user)
View 1 Replies View RelatedI find FTP server software confusing in Linux. Using ServU for Windows for an example, all I need to do is to create users via the ServU interface and choose a folder I want that user to have access to and their permissions, and viola, they can connect to that directory, and that directory only.
But in the the land of Linux, it apparently can't be managed this easy. I have a web server with multiple domains, and therefore multiple users need access to their own web root. So with that in mind, what FTP server software should I use (there are plenty out there) and how would I go about to create a user per domain, so that they can log in using FTP to manage their site, and only have access to their own web root, and nothing else?
I'm trying to setup a headless CUPS server, but no matter what I do, I can't add a new printer. Not using the web interface, or the GUI of another computer connected to the CUPS server.I always get to the point shown in the attached screenshot, and then I am asked for a password, which never works. I've practically slaughtered my cupsd.conf, and it now looks like this:
Code:
LogLevel info
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
[code]....
it looks like the above should tell CUPS to never ever ask for authentication, but as you can see in the second screenshot, it still does!
Cups is disabled by default on backtract 5 (kubuntu 10.04), I can start the service running this command
Code:
/etc/init.d/cups start
but I would like cups to load at start up always, I'm sure the fix is just some file editing but don't know which.
The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?
View 5 Replies View RelatedI have wicd 1.6.1 (bzr-r426) and it is working very good with my root user but with all those which have not the root rights wicd asks for superuser password to connect. I want to avoid this pop-up window to be shown, how can I proceed? I first thought about the sid and gid but it seems that there is no improvements using chmod 4755 and 2755 on the different files involved in.
View 2 Replies View RelatedI need to customize linux kernel root file system for embedded linux system. During compile time, for root file system I am able to create different user/group ex: "gnumuzic/Muzic". But I want to give access to group "Muzic" to some folders like /dev/nexig during compile time.
View 1 Replies View RelatedI can't get cups to auto-start at boot time. Running sudo cupsd manually works fine, but I don't want to have to do that every session.This seems to be affecting lots of folks. This thread claims that bug #444597 in launchpad has a solution, but I must be too stupid to see it, and the thread is closed so I can't post there.
All my rc and init files seem fine, bootsplash is off, and, of course, there are no useful boot error logs in Karmic.
Anyway im trying to do a simple thing pointed out in the thread title. Everything is set up, cups-pdf works, in dosemu.conf lpt1 command is "lpr" printer-timeout is 10... I "work" in an accounting agency that has a program written in clipper back in 1992. Apparently some prints from this program produce text/plain and some produce application/octet-stream. text/plain is printed. The later is always aborted. I have uncommented the lines in mime.types and mime.convs. Which are located in /usr/share/cups/mime.
View 2 Replies View RelatedI have a CUPS server on Debian, I am trying to connect from an Ubuntu 8.04 box. Here is my CUPS configuration file on Debian just in case it is usefull:
Code:
LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
[code]....
When I try to add a printer I have set up in CUPS from my Ubuntu box, it asks for the password for katie (this is the user that is logged in on ubuntu box) on 192.168.1.200 (CUPS Debian Box). The problem is, I don't have a katie user set up on the debian box, am I supposed to for this to work. Why is it even prompting for a password? Also, it won't let me change the name so that I can authenticate with a different user, it is not in a text box.
Setting up a new 64-bit lucid server. I installed cups and cups-client, and expected to have the "lpr","lpq" etc. commands available; we have old scripts that rely on them. But I don't see them anywhere.
Are they still provided in some package I don't know about? Otherwise I'll probably have to come up with wrappers around lp and lpstat, to avoid having to revise a lot of old code.
I have a fresh install of Ubuntu 10.10 64, and when I change the CUPS-server via system->administration->printing->server->connect, the new list of network printers loads up correctly.But when I close the window and reopen it, the old CUPS-server is back, so it seems that the change isn't saved anywhere. Rebooting doesn't do anything.
View 1 Replies View Related