• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Anyone experienced with debian can help me with sudo?

Damon

Check my status to contact me :)
Joined
Mar 26, 2011
Messages
6,214
Solutions
1
Reaction score
2,033
Location
Germany
Okay, so I am a newbie when it comes to linux, however I recently got a vps in order to run my TeamSpeak3 on it. Now I wanted to add a second user besides root with sudo, which will be able to execute my teamspeak server start script. Well i created the new user called "ts3" and then used
  • Code:
    [LIST]
    [*]# adduser ts3 sudo
    --> user was successfully added to group sudo.
    [/LIST]
    (user was added successfully to sudo it said after that. ofc i used it without #)

    as described in https://wiki.debian.org/sudo
    however when i want to run the teamspeak start script with ts3 user
    and i do
    Code:
     su ts3
    -->
    Code:
    cd /home/ts3
    (where teamspeak server is located) and wanna use
    Code:
    ./ts3server_startscript.sh start
    it wont let me while with root it is no problem at all.

    Hope someone can help,
    Kind regards,
    Damon

    @HalfAway @dominique120
 
Last edited:
sq08KQc.jpg
 
Last edited:
Are you sure your TeamSpeak files aren't still owned by root?
 
It looks like you only chown'd one directory and not it's contents.

do this:
Code:
$ ls -l

and make sure all the files are owned by your new user. If they aren't, do "exit" to get back to root, cd to /home/ts3 and do "chown -R ts3:ts3 ./"
 
It looks like you only chown'd one directory and not it's contents.

do this:
Code:
$ ls -l

and make sure all the files are owned by your new user. If they aren't, do "exit" to get back to root, cd to /home/ts3 and do "chown -R ts3:ts3 ./"
it works now thanks
 
Back
Top