Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article MIT Kerberos installation on Debian:


Re: MIT Kerberos installation on Debian
Posted by Anonymous (4.22.xx.xx) on Wed 5 Dec 2007 at 18:56
Thanks for the write-up. Its a very interesting topic, and I'm still working my way through the article. I have one small correction, however. I don't believe the following command will work:
su -c 'echo "$USERNAME ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
I don't have a $USERNAME in my environment. I have $USER and $LOGNAME, but that could just be an issue with my install and it isn't the real problem. The environment variable will be expanded as the user root and therefore $USERNAME (or $USER) will expand to "root". My shell-foo is weak so I can't tell you if there is an equivalent one-liner to accomplish the same thing. My only suggestion would be to use something like:
su -c visudo
They'll have to manually insert the line after that, so its not as automatic, but it works.

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search