Posts: 8
chuy_
Joined: 03 Jun 2013
#1
i cant execute refracta installer whitout password,this its the config i set in sudouser whitout succes i hope you super cool fast and kind help,i really apreciate

user ALL=(ALL)NOPASSWD:INSTALLER


Cmnd_Alias REFRACTAINSTALLER = /usr/lib/refractainstaller
Cmnd_Alias REFRACTAGUI = /usr/bin/refractainstaller-gui
Cmnd_Alias REFRACTAWRAPPER = /usr/bin/refractainstaller-wrapper.sh
Cmnd_Alias REFRACTAYAD = /usr/bin/refractainstaller-yad
Cmnd_Alias INSTALLER = REFRACTAINSTALLER,REFRACTAGUI,REFRACTAWRAPPER,REFRACTAYAD,
Posts: 7
purcaribe
Joined: 29 Aug 2013
#2
Sudo is not configured by default. antiX is not Ubuntu! If you want a root shell (looks to me like what you're trying to do) then either type su and enter your root password, or sudo -i and type your user password. (Assuming that"sudo" is installed and correctly configured.)

Code:
su
Press Enter
Type your root password (it will not display on the screen)
Press Enter
Code:apt-get update
Press Enter
When you are done working as root type:
Code:exit
to return to your normal user privileges.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#3
Sudo is now configured by default in antiX. It didn't used to be but now it is.

As root look at the /etc/sudoers file and the /etc/sudoers.d/antixers file.

If you want to run another program with sudo but without a password then I suggest you follow the format in the /etc/sudoers./antixers file. I suggest you make your own custom file that goes in /etc/sudoers.d/ so you won't lose your changes if the antixers file gets updated.