Re: [opensuse] SuSE11 lppasswd -a -g sys root, access denied
On Thursday 24 July 2008 15:50:50 Verner Kjærsgaard wrote:
Hi list,
what happened?? when giving the above command as root, it says access to password file is denied. I'm root...at the very local console!
lppasswd is suid lp, so it doesn't really matter which user you're logged in as.
eh, now what?
chown lp /etc/cups and please open a bug for it Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson skrev:
On Thursday 24 July 2008 15:50:50 Verner Kjærsgaard wrote:
Hi list,
what happened?? when giving the above command as root, it says access to password file is denied. I'm root...at the very local console!
lppasswd is suid lp, so it doesn't really matter which user you're logged in as.
eh, now what?
chown lp /etc/cups
and please open a bug for it
Anders
Ooops.. sorry for not sending my answers and comments to the list. That was an oversight. If I go to http://download.opensuse.org/repositories/Printing/openSUSE_11.0/i586/ I see a pile of RPMs... Do I simply take them all into a directory of my choice and hence go: #rpm -Uvh *.rpm I thought I could/should point YaST to this repo somehow - and then do an update... - as always, thanks for your time and help! -- -------------------------------------------- Med venlig hilsen/best regards Verner Kjærsgaard Novell Certified Linux Professional 10035701 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag 25 Juli 2008 14:24:18 schrieb Verner Kjærsgaard:
Anders Johansson skrev:
On Thursday 24 July 2008 15:50:50 Verner Kjærsgaard wrote:
Hi list,
what happened?? when giving the above command as root, it says access to password file is denied. I'm root...at the very local console!
lppasswd is suid lp, so it doesn't really matter which user you're logged in as.
eh, now what?
chown lp /etc/cups
and please open a bug for it
Anders
Ooops.. sorry for not sending my answers and comments to the list. That was an oversight.
If I go to
http://download.opensuse.org/repositories/Printing/openSUSE_11.0/i586/
I see a pile of RPMs... Do I simply take them all into a directory of my choice and hence go:
#rpm -Uvh *.rpm
I thought I could/should point YaST to this repo somehow - and then do an update...
Sure. Go to YaST->Software repositories and click on Add, then select "URL" and enter a name for the repo and the URL http://download.opensuse.org/repositories/Printing/openSUSE_11.0/ Then click on OK, and Finish. Then go to "Software Management", select "Repositories" from the dropdown on the left, then select your new repository from the list, right-click on any package in it and select "All in this list-
update if newer version available" and then click OK.
Then the packages will get updated Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson skrev:
Am Freitag 25 Juli 2008 14:24:18 schrieb Verner Kjærsgaard:
Anders Johansson skrev:
On Thursday 24 July 2008 15:50:50 Verner Kjærsgaard wrote:
Hi list,
what happened?? when giving the above command as root, it says access to password file is denied. I'm root...at the very local console! lppasswd is suid lp, so it doesn't really matter which user you're logged in as.
eh, now what? chown lp /etc/cups
and please open a bug for it
Anders Ooops.. sorry for not sending my answers and comments to the list. That was an oversight.
If I go to
http://download.opensuse.org/repositories/Printing/openSUSE_11.0/i586/
I see a pile of RPMs... Do I simply take them all into a directory of my choice and hence go:
#rpm -Uvh *.rpm
I thought I could/should point YaST to this repo somehow - and then do an update...
Sure. Go to YaST->Software repositories and click on Add, then select "URL" and enter a name for the repo and the URL
http://download.opensuse.org/repositories/Printing/openSUSE_11.0/
Then click on OK, and Finish. Then go to "Software Management", select "Repositories" from the dropdown on the left, then select your new repository from the list, right-click on any package in it and select "All in this list-
update if newer version available" and then click OK.
Then the packages will get updated
Anders
Hi Anders and list, - thank you for your help! - it didn't change a thing :-(, same bug with lppasswd. - so I just renamed passwd.md5 and passwd.old so they will not be found by anyone looking for them. I then fired up the web:631 interface and proceded to stop a printer. An action that causes a dialog box to ask for username and password, just as usual. Now I just gave root/roots-password. THIS WORKEED! I don't understand that...for starters root's pw on this particular system does not adhere to what CUPS normally demands in terms of complexity and so. Furthermore, on all the other systems I know of, I must create a CUPS use by issuing lppasswd and so forth, before I can use the web interface. No so anymore.. Anyhow, it's solved, but not understood...thanks again! FYI: here is a list from /etc/: vk@beethoven:/etc> ls -ld cups drwxrwxr-x 6 root lp 4096 25 jul 15:18 cups Who should own cups? -- -------------------------------------------- Med venlig hilsen/best regards Verner Kjærsgaard ------------------------------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/25/2008 09:26 PM, Verner Kjærsgaard wrote:
- thank you for your help! - it didn't change a thing :-(, same bug with lppasswd.
I don't believe it is a bug, it was a change in cups introduced in IIRC cups 1.2. I think it was in the 10.2 release notes. RunAsUser was deprecated IIRC.
I don't understand that...for starters root's pw on this particular system does not adhere to what CUPS normally demands in terms of complexity and so.
Furthermore, on all the other systems I know of, I must create a CUPS use by issuing lppasswd and so forth, before I can use the web interface. What version of cups?
No so anymore..
Anyhow, it's solved, but not understood...thanks again!
FYI: here is a list from /etc/: vk@beethoven:/etc> ls -ld cups drwxrwxr-x 6 root lp 4096 25 jul 15:18 cups
Who should own cups?
Permissions are correct. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 25 July 2008 08:35:58 am Joe Morris wrote:
On 07/25/2008 09:26 PM, Verner Kjærsgaard wrote:
- thank you for your help! - it didn't change a thing :-(, same bug with lppasswd.
I don't believe it is a bug, it was a change in cups introduced in IIRC cups 1.2. I think it was in the 10.2 release notes. RunAsUser was deprecated IIRC.
I don't understand that...for starters root's pw on this particular system does not adhere to what CUPS normally demands in terms of complexity and so.
Furthermore, on all the other systems I know of, I must create a CUPS use by issuing lppasswd and so forth, before I can use the web interface.
What version of cups?
No so anymore..
Anyhow, it's solved, but not understood...thanks again!
FYI: here is a list from /etc/: vk@beethoven:/etc> ls -ld cups drwxrwxr-x 6 root lp 4096 25 jul 15:18 cups
Who should own cups?
Permissions are correct.
-- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64
I seen to remember this also. I know the last couple of versions of CUPS would not work with lppasswd. I have to log in as root with the actual root passwd. the above permissions are the same as mine. -- Russ Linux register user 441463 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
russbucket skrev:
On Friday 25 July 2008 08:35:58 am Joe Morris wrote:
On 07/25/2008 09:26 PM, Verner Kjærsgaard wrote:
- thank you for your help! - it didn't change a thing :-(, same bug with lppasswd. I don't believe it is a bug, it was a change in cups introduced in IIRC cups 1.2. I think it was in the 10.2 release notes. RunAsUser was deprecated IIRC.
I don't understand that...for starters root's pw on this particular system does not adhere to what CUPS normally demands in terms of complexity and so.
Furthermore, on all the other systems I know of, I must create a CUPS use by issuing lppasswd and so forth, before I can use the web interface. What version of cups?
No so anymore..
Anyhow, it's solved, but not understood...thanks again!
FYI: here is a list from /etc/: vk@beethoven:/etc> ls -ld cups drwxrwxr-x 6 root lp 4096 25 jul 15:18 cups
Who should own cups? Permissions are correct.
-- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64
I seen to remember this also. I know the last couple of versions of CUPS would not work with lppasswd. I have to log in as root with the actual root passwd. the above permissions are the same as mine.
I think I've come to the same conclusions as you have. It's not a bug. It's a change in behavior. Anyway.., I got it working by submitting the root pw to it. I got myself into a corner in the first place, 'cause I didn't even bother to try that before invoking lppasswd and so. Regards Verner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
Joe Morris
-
russbucket
-
Verner Kjærsgaard