driverdave
02-27-2002, 04:22 PM
I need to run a Java app on my RAQ4 upon startup, and I need it run as an unprivileged user (chatserver is the user name).
I know I can throw it in /etc/rc.d/rc.local, but that seems messy, and I don't know hoe to run the app as the user I want running it. How can I do this properly and have the Java app started as user chatserver?
I'd play around with it, but it's an in-use server, so I don't want to be rebooting it to figure this out.
Also, am I getting too complicated here? I don't have too much Java knowledge, but I'm just assuming I don't want to be running this Java app as root. It's a chat server so it's bound to a port.
I know I can throw it in /etc/rc.d/rc.local, but that seems messy, and I don't know hoe to run the app as the user I want running it. How can I do this properly and have the Java app started as user chatserver?
I'd play around with it, but it's an in-use server, so I don't want to be rebooting it to figure this out.
Also, am I getting too complicated here? I don't have too much Java knowledge, but I'm just assuming I don't want to be running this Java app as root. It's a chat server so it's bound to a port.
