Having major problems with SU / SUDO commands.. PLEASE HELP
Thanks
MacBook, Mac OS X (10.5.2), Standard..
MacBook, Mac OS X (10.5.2), Standard..
OldSkewl wrote:
So right now whenever I have to use su or sudo command for anything I first have to "su sysop" and once logged onto that admin account use sudo or continue my work in terminal as root. Please help!!!
OldSkewl wrote:
I was under the impression that if you do not enable the root user the password for root becomes a negative value so that it will resort to using the machine's admin password instead of root.
So your saying if I add my accounts username to the /etc/sudoers files I will be able to use those commands and the admin's password will then work? If that was the case when I try to use sudo or su from my normal user account wouldn't it just prevent me from using it rather than stating it is a incorrect password?
Also I know there is some kind of problem here because like I said once in awhile it will prompt me for the admin's password in the GUI when I am trying to use a spasific program or install one (not all the time only on very spasific programs) and I will enter the password and it will then come back with the same box asking for the username and password for the admin account. However if I type the wrong password it will say I entered the wrong password. So it gets stuck in this loop of askng for my admin password and will not accept the correct password but rather just ask for it again.
OldSkewl wrote:
if I do add my username in the sudoers file will that give my standard account any elivated privilages that I wouldn't want?
From my non-admin account:
kiraly$ su admin
Password:
bash-3.2$ sudo -s
Password:
root#
Having major problems with SU / SUDO commands.. PLEASE HELP