screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch screen by root as another user


From: zeroguy
Subject: Re: launch screen by root as another user
Date: Sun, 20 Nov 2005 17:01:01 -0500

On Sun, 20 Nov 2005 13:22:46 -0600
Gary Skowronek <address@hidden> wrote:

> su $user -c screen -A -m -d -S SOF2_svr /usr/local/games/sof2/sof2ded 
> +set net_port $2 +exec $3 +set sv_pure 1 +set fs_game rocmod

What is the shell in /etc/passwd for $user? If it's /bin/false or
something, you need to add `-s /bin/bash` to the su command. (And I
think you might need to put everything after -c in quotes, so su doesn't
interpret the other arguments as arguments to su.)

        -zeroguy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]