1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Entware no 'su'?

Discussion in 'Tomato Firmware' started by darkknight93, Apr 7, 2013.

  1. darkknight93

    darkknight93 Networkin' Nut Member

    Hi everyone,

    is it right that entware does not offer coreutils-su? Tomato mod by shibby has su not integrated and due I switched from optware to entware I'm missing that Feature.

    Can anyone give me advice? ^^ thanks in advance!
     
  2. koitsu

    koitsu Network Guru Member

    This is the first I've heard of any of the firmwares being used with non-root users, which is the only real purpose behind using su.

    Regardless: use sudo instead.

    P.S. -- For Entware questions/support, this is not the place to ask. Entware has its own ticketing/support system which you should use.
     
  3. darkknight93

    darkknight93 Networkin' Nut Member

    is sudo integrated in Tomato? Cause this command is not found ^^

    EDIT: yes I created for testing purposes a Special account - not member of root's Group ;)
     
  4. koitsu

    koitsu Network Guru Member

    Quoting your initial post:

    Go install sudo.
     
  5. darkknight93

    darkknight93 Networkin' Nut Member

    Sweet! Thank you :) i was just thinking to complex i think

    Just if anybody will find this thread:
    Solution was:

    opkg install sudo
    afterwars edit file /opt/etc/sudoers or use the Editor visudo
     
  6. koitsu

    koitsu Network Guru Member

    Please do not edit /opt/etc/sudoers directly. Always use visudo.

    This is made crystal clear in the default sudoers file, which says this at the top:

    Code:
    ## This file MUST be edited with the 'visudo' command as root.
    ## Failure to use 'visudo' may result in syntax or file permission errors
    ## that prevent sudo from running.
    
    The visudo command honours the $VISUAL environment variable for its editor. So if you happen to dislike the vi editor and prefer something else (like, say, having installed emacs from Entware), just export VISUAL=emacs and use visudo.
     

Share This Page