- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with user on print
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 09:59 AM
тАО03-04-2008 09:59 AM
I use command:
$ lp -dPTR_NAME filename
and return this error:
"Unable to set the effective user id to 9 "
I have changed /etc/group, included the users on group lp and nothing.
I've gone in to SAM and verified that the printer is still listed as the
default, killed the spooler queue and restarted it.
I restart the server, and same error.
Any suggestions ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 10:02 AM
тАО03-04-2008 10:02 AM
Re: Problem with user on print
if it does not return anything then someone removed the lp username from /etc/passwd.
re-add the user
lp:*:9:7::/var/spool/lp:/sbin/sh
undo the mods to /etc/group as you just messed up the security.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 11:02 AM
тАО03-04-2008 11:02 AM
Re: Problem with user on print
-r-sr-xr-x 1 root bin 45056 Jul 15 2006 /bin/lp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 11:20 AM
тАО03-04-2008 11:20 AM
Re: Problem with user on print
# id lp
uid=9(lp) gid=7(lp)
# cat /etc/passwd | grep lp
lp:*:9:7::/var/spool/lp:/sbin/sh
This info are correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 11:26 AM
тАО03-04-2008 11:26 AM
Re: Problem with user on print
#ls -l /bin/lp
-rwxrwxrwx 1 root bin 73728 Sep 5 2006 /bin/lp
How to back the original permissons with chmod ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 11:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 12:10 PM
тАО03-04-2008 12:10 PM
Re: Problem with user on print
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 06:49 PM
тАО03-04-2008 06:49 PM
Re: Problem with user on print
Thanks to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 06:52 PM
тАО03-04-2008 06:52 PM
Re: Problem with user on print
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2008 12:11 AM
тАО03-05-2008 12:11 AM
Re: Problem with user on print
If this file was messed up, there may be others. You can check with:
# swverify \*