i executed the visudo command to edit the sudoers file.
every time i exit with ctrl-z i brings me to
sh-2.05b#
pompt, when i try to exit from the prompt by typing exit, it brings me back into the sudoers file.
on top of it all my alterations to my sudoers file do not work.
Code:
%buddha DarkStar=(ALL) NOPASSWD:/bin/mount[A-Z]*
%buddha DarkStar=(ALL) NOPASSWD:/bin/umount[A-Z]*
%buddha DarkStar=(ALL) NOPASSWD:/sbin/shutdown[A-Z]*
here are my aliases i created that should use the sudo file
Code:
alias sd="sudo shutdown -h now"
alias rb="sudo shutdown -r now"
alias cdrom="sudo mount /dev/cdrom /home/buddha/cdrom"
alias ucdrom="sudo umount /dev/cdrom"
anyone have a clue how to fix these two problems.
the exiting of root to the wrong prompt, and the fact that my sudo changes didn't take.
thanks ahead of time.