Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
i get lpr from debian package center
i compile it ,and it works good on my computer
but when transplantation it to my dev-board
i get this :
[root@loo:/]# lpd
lpd: 'lp' uid not in password file
[root@loo:/]# id lp
uid=4(lp) gid=7(lp) groups=7(lp)
[root@loo:/]# id root
uid=0(root) gid=0(root) groups=0(root)
but in the /etc/group, /etc/passwd, /etc/shadow which has lp
and /etc/group,/etc/passwd ,/etc/shadow was copyed from my computer
I wouldn't say that it's likely, but you might get this if the passwd file was not readable by the lpr user.
You example shows you running as root and finding the info that you need, but the daemon probably runs non-root and seems to have a problem.
Check the other-read bit on /etc/passwd .
When copying files like these, one must take special care to preserve permissions,
but you probably did, and this is some other problem entirely.
I wouldn't say that it's likely, but you might get this if the passwd file was not readable by the lpr user.
You example shows you running as root and finding the info that you need, but the daemon probably runs non-root and seems to have a problem.
Check the other-read bit on /etc/passwd .
When copying files like these, one must take special care to preserve permissions,
but you probably did, and this is some other problem entirely.
thank you
i have solved !
# strace lpr > 1.log
# vim 1.log
that i find i have no libns*.so
so i can copyed them to /lib and work good
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.