On 12/12/05, (रेवंत) Revant Nandgaonkar revant.one@gmail.com wrote:
I tried bhai line on my computer, it only gives "bhai" read-only access to /etc/passwd
bhai@ubuntu~$ emacs /etc/passwd # gives Read-only access to the /etc/passwd file
bhai@ubuntu~$ sudo emacs /etc/passwd # sudo checks if "bhai" is present in /etc/sudoers and what & where he can access, sudo also checks that is "bhai" allowed to access commands and files without password, if yes, no password is asked, else: Password:<type in the bhai's password and !root's password>
revant