su: not running setuid

Status
Not open for further replies.

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Hello
Whenever im trying to "su -" from my user in ssh i get the message "su: not running setuid"
Im also having problem using the "sudo" command, it refuses to accept my password. Im using the same password as when im loggin in to the webgui with the root user.
 

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Your right, i had some problem with my permissions in the beginning.
The output from "ls -l /usr/bin/su":
-rwsrwxr-x+ 1 1002 1002 16728 Oct 2 12:48 /usr/bin/su
the 1002 is the id of my old user. The new one is 1001
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You still have problems with permissions. Best is to back up your config file, do a clean reinstall, restore the config file. Fixing that particular file would be easy enough, but who knows how many others might be wrong.
 

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Realy? I just got transmission, couchpotato, sickrage, plex mediaserver and crachplan to work perfect.
Reinstall the whole system would set me back to stage one again huh?
 

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Ok will do, thanks

Update: worked flawless, thanks guys.
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
when using sudo, a user will be prompted for their own password
Thanks for the confirmation--there are so many ways sudo can be configured that I didn't want to get that one wrong.

@Dudde, for future reference, you should never need to touch permissions on the operating system. You can mess with them on your pool, but if you change permissions elsewhere, you can cause all sorts of problems (like the one that's happening here). Similarly, never touch the permissions of your jails dataset(s).
 

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Well i have no clue to what i did before. I added/removed users/groups since my plugins had no permissions. The solution was pretty easy doe, just add a user/group named media with id 816 since that seemed to be the default for sickrage and couchpotato. But i guess my laboration broke more then it fixed, everything works perfect now again anyways. Thanks guys.
 
Status
Not open for further replies.
Top