Complete Owner


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Complete Owner
# 1  
Old 07-02-2011
Complete Owner

How can I be the owner with complete permissions on my system? I'm running Ubuntu Linux and am the only user. Any help would be appreciated.
# 2  
Old 07-03-2011
You don't want to be the owner of all files -- there are security implications for that. You are the owner of files that YOU create; the system files are generally owned by special user 'root', with UID 0.
You can only do admin stuff as root (e.g. by using sudo(8)), because behind the scenes you are changing the system files (owned by root).
This hierarchy of privileges is what makes linux system safe, an is to your advantage. Linux is multi-user system, so more users can be logged in at the same time (even the same users).
But if you really need to, you can, of course change the owner of the file (chown command). But don't do it unless you are sure that's what you need to do -- you can compromise your system.
Safety is not just about who can be sitting at the keyboard -- for example, everytime you connect to Internet, you get exposed.
# 3  
Old 07-03-2011
Quote:
Originally Posted by nthepines
How can I be the owner with complete permissions on my system? I'm running Ubuntu Linux and am the only user. Any help would be appreciated.
Just work as root if it pleases you, or change the UID of your username to 0 in the /etc/passwd file and you will have full permissions as a superuser.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Folders with more than one 'owner'

I have a peculiar problem. I have a particular directory with the following characteristics: -bash-3.00# ls -lah total 18 drwxr-x--- 7 gandalf shire 512 jul 3 07:20 . drwxr-x--- 11 gandalf shire 512 mai 10 2010 .. drwxr-xr-x 6 gandalf shire 3,0K jul 24 19:25 brasdeff drwxr-xr-x... (9 Replies)
Discussion started by: poyato
9 Replies

2. Solaris

Privileges : modify dir/file owner by other that's not owner

i need to do the following operations in solaris 10: 1.change owner and group owner for files which are not owned by the current user and user group 2.to can delete files in the /tmp directory which are not of the current user 3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies

3. UNIX for Advanced & Expert Users

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

Hi all, We have some files are under 744 permissions and the the owner is say owner1 and group1. Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that. ... (14 Replies)
Discussion started by: TheGunMan
14 Replies

4. UNIX for Dummies Questions & Answers

BASH complete-filename & menu-complete together

Hi, Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab? Right now this is what I have in my .bashrc: bind "set show-all-if-ambiguous on" bind \\C-o:menu-complete This allows... (0 Replies)
Discussion started by: Mithu
0 Replies

5. Shell Programming and Scripting

Change owner.

i want to find what are the files having owner as 'palani' my entire filesystem ( sub directories ) and needs to change the owner ( chown ) to 'raju'. Can anyone help on this to write a shell script. Thanks in advance. (3 Replies)
Discussion started by: senthil_is
3 Replies

6. Solaris

Owner of file gets 'not owner' error for chgrp

Hi Folks, I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error. For example, when I am logged in as 'webadmin', I have the following file: ... (4 Replies)
Discussion started by: brizrobbo
4 Replies

7. UNIX for Dummies Questions & Answers

Changing owner???

How to change the owner of a file. example: suppose original owner is A and we want to change to B Please provide the syntax Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies

8. Solaris

Changing owner

Hi, I own a file, when i try to change the owner of my file to other user it is throwing error like chown: changing ownership of `a.txt': Not owner my OS is sunOS 5.8 Thanks. (1 Reply)
Discussion started by: shahnazurs
1 Replies

9. UNIX for Dummies Questions & Answers

Process owner

Hi there, How do I get the owner of a process? Regards (4 Replies)
Discussion started by: Parker_
4 Replies

10. UNIX for Dummies Questions & Answers

Change owner

How to change the owner of group? -rw-r--r-- 1 lead lead Now I need to change LEAD to SUBLEAD.. how do I do this. I am using this command. $chown -R sublead test.lck I get this message chown: test.lck: Not owner I am logged in a LEAD.. All your help in regards are greatly... (16 Replies)
Discussion started by: venkyA
16 Replies
Login or Register to Ask a Question