[PLUG] Stupid newbie file permisions question

Vram lamsokvr at xprt.net
Wed May 18 04:15:23 UTC 2005


John Jason Jordan wrote:

>Today I must have typed su and my password at least a hundred times. I
>am told you're not supposed to log in as root, but this is getting
>seriously tedious. Today I needed to verify that files on an external
>USB hard disk were unaffected by the sudden demise of the hard disk in
>my Windows 2000 computer. "You don't have permission" is all I can get.
>Man, I bought that hard disk, I put the files on it, this computer
>should be smart enough to realize that. Getting pissed here.
>
>I tried everything, but can't figure out how to give myself permission
>to see those files in the Nautilus file manager window. I typed su and
>my password in a command line, but Nautilus remains unimpressed.
>
>OK, in Windows I am user jjj, but I am also the Administrator account.
>During Windows 2000 installation it creates the Administrator account
>and you have to create a password for it. Then you can create a user
>account to use for ordinary daily work. But when I created the jjj
>account I gave it administrator privileges. Now jjj can do anything on
>that machine that Administrator can do.
>
>On this Linux machine I am root and I am also jjj. I just spent the past
>hour and a half reading about ACLs, but none of it made any sense to me.
>Plus finals are coming up in three weeks and I'm running out of time.
>How can I give jjj permanent root permission?
>
>_______________________________________________
>PLUG mailing list
>PLUG at lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug
>
>
>  
>
Sudo is the answer you are looking for

Download and install sudo if you don't have it..


which sudo

Should answer  .. /usr/bin/sudo
Check /etc/sudoers
to /etc/sudoers  add the line
<as  root>
jjj  ALL=(ALL) ALL


Then when  you want to run a command place the word sudo in front of it..

HTH

Vram






More information about the PLUG mailing list