Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
As your apache user? As in... the user stored in apache's password file, and not in Linux's /etc/passwd? I doubt that you can.
What you can do is add that user to your system, and then it would be much easier.
PS why do yo want to run azureus as your apache user? If you tell us exactly what you want to achieve, or more details, maybe we can give a better solution.
If I've misread your question, and you do have a system user called apache, and it's configured properly then you can open a terminal and type "su apache", enter the password and type any command/name of application you want to use it.
As your apache user? As in... the user stored in apache's password file, and not in Linux's /etc/passwd? I doubt that you can.
What you can do is add that user to your system, and then it would be much easier.
PS why do yo want to run azureus as your apache user? If you tell us exactly what you want to achieve, or more details, maybe we can give a better solution.
If I've misread your question, and you do have a system user called apache, and it's configured properly then you can open a terminal and type "su apache", enter the password and type any command/name of application you want to use it.
I am stuck on this part:
"3. Start the Azureus-Server. Use the same user/group as the webserver runs."
I think my webserver runs as the user 'apache', correct? I am using Fedora Core 6.
So, I am trying to start azureus with the user apache, and I don't know how to do it. I have tried varous incarnations of su -apache with no luck since I don't know apache's password. Can I just reset the user apache's password and then login? Wouldn't this cause other issues?
Hmm, are you sure that apache created a user called apache? Check /etc/passwd and /etc/shadow . If there is a user listed there with that name, then it should probably not have a password (have you tried hitting enter when it prompts for a password?). If it is listed in /etc/shadow with a password ( it will show only the encrypted password, a weird set of strings), then you could try cracking the password (aka find a good program that can brute force the string, giving the actual password so you don't modify anything).
But, first... Are you sure apache runs as a user called apache? Try starting it as you usually do, and run a "ps -aux" in a terminal and see what the user running it is listed as. Then run your other program as that user and see if it works.
I can't think of anything else right now that might work...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.