 |
21-06-2007, 08:12 AM
|
#1 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
User Power help!Urgent
Hi all
I was about to installl aMSN skin but while comping it into /usr/share.... I got a message that i do not have powers to access the folder.. Even some folder that were made in windows are un deletable it say you do not have root poswer... How can I get that poswer help me pl z
Thanks
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
21-06-2007, 08:18 AM
|
#2 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: User Power help!Urgent
Um, what you need here is temporary root access.
Via terminal:
Code:
affix sudo to any command you wish to run, even cp or mv
Or for a root-session Nautilus [GUI]:
And then you can browse your folders as root.
__________________
Harsh J
www.harshj.com
|
|
|
21-06-2007, 09:37 AM
|
#3 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: User Power help!Urgent
Is this teemporary root.. powers to my acounts  How to give permanent  Btw from where did you get alll that commands
Plz be a bit clear I downloaded that package and I can't copy it help me
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Last edited by Dark Star; 21-06-2007 at 09:37 AM.
Reason: Automerged Doublepost
|
|
|
21-06-2007, 10:24 AM
|
#4 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: User Power help!Urgent
You wanna move a folder to /usr/share ?
sudo mv <extracted file/folder> /usr/share/amsn/skins
You don't need permanent root for all this, a simple sudo will do good
And if you dont want hassles, just hit Ctrl + H in Home directory, and copy the file/folder into .amsn/skins/ folder. No root or any other method required here.
__________________
Harsh J
www.harshj.com
|
|
|
21-06-2007, 10:27 AM
|
#5 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: User Power help!Urgent
In UNIX/Linux users do not login as root as root user.the only way is via "su" or "sudo"
though for files u can fix permissions as SUID.
if u r at doubt with any commands try the manpage from terminal as:
or for sudo
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
21-06-2007, 10:28 AM
|
#6 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: User Power help!Urgent
And about commands, you learn them on the way.
__________________
Harsh J
www.harshj.com
|
|
|
21-06-2007, 10:32 AM
|
#7 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
Re: User Power help!Urgent
You can also use the switch user command.
su -c "type the command here'
and enter the root password and the command will be executed.
|
|
|
21-06-2007, 10:41 AM
|
#8 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: User Power help!Urgent
Kinda confusing can any . Though I got that can't log in as Root but how to copy It I am not downloading I had already downloaded the package as .zip and now unzipped I need to copy the folder 2 place 1 in /usr that I can't and other in /home that I did.
Now how to copy the .
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
21-06-2007, 11:08 AM
|
#9 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: User Power help!Urgent
Arg,
Here's an example: I wanna move a folder called ABC to /usr/ Ok?
qwerty@qwerty-desktop:~$ sudo mv ABC /usr/
Password:
And hit enter, you are done. [No output means the job went successful]
__________________
Harsh J
www.harshj.com
|
|
|
21-06-2007, 11:12 AM
|
#10 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: User Power help!Urgent
Hey thanks  This worked thanks for example now I can move any file .. so to delete we should write del
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
21-06-2007, 11:17 AM
|
#11 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
Re: User Power help!Urgent
rmdir to delete an empty directory
rm to remove files and
rm -r to remove directory with contents
and read a few guides at www.tldp.org. You can learn the basic commands there
|
|
|
21-06-2007, 11:19 AM
|
#12 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: User Power help!Urgent
Err. these are DOS Commands so it means I can get those from the command I learnt in 11
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
21-06-2007, 11:28 AM
|
#14 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: User Power help!Urgent
No, shell commands all don't match DOS ones, its way far advanced than that
For a quick reference, you can try:
http://www.ss64.com/bash/
And for removal, if I wish to remove my ABC folder, then
Code:
rm (or sudo rm, if you need permissions) -R ABC
Or if ABC was a file,
__________________
Harsh J
www.harshj.com
Last edited by QwertyManiac; 21-06-2007 at 11:34 AM.
|
|
|
21-06-2007, 05:27 PM
|
#15 (permalink)
|
|
Burning Bright
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
|
Re: User Power help!Urgent
Quote:
|
Originally Posted by Shashwat Pant
Is this teemporary root.. powers to my acounts How to give permanent
|
Ok Its possible but strongly recommended NOT TO LOGIN AS ROOT
1> Open Terminal. Then provide root password by issuing following command ( AFAIK root password is not there by default in Ubuntu like system)
2> Then System > Administration > Login Window > Security. There Enable "Allow local system administrator login"
3> Do not login as root
__________________
..::Fedora ::.. Freedom + Infinity + Speech
Registered Linux User #447318
GNUger was here.... Grrr....
Maah! Blog
http://brightedges.blogspot.com/
|
|
|
21-06-2007, 07:40 PM
|
#16 (permalink)
|
|
El mooooo
Join Date: Jan 2006
Location: India
Posts: 1,414
|
Re: User Power help!Urgent
Shouldn't we recommend gksudo to newbies? I mean he just needed to copy a folder to the location and he could have done that by using `gksudo nautilus`? What do you guys say? Or am I thinking on wrong lines?
__________________
Windows users shouldn't get to use the real computers. They know just enough to be dangerous.
|
|
|
21-06-2007, 07:46 PM
|
#17 (permalink)
|
|
Burning Bright
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
|
Re: User Power help!Urgent
^^
Yeah thats what I do..
__________________
..::Fedora ::.. Freedom + Infinity + Speech
Registered Linux User #447318
GNUger was here.... Grrr....
Maah! Blog
http://brightedges.blogspot.com/
|
|
|
21-06-2007, 07:53 PM
|
#18 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: User Power help!Urgent
I suggested him that one, he didn't take it, so I told the harder way and he liked it I guess  Terminal ftw!
__________________
Harsh J
www.harshj.com
|
|
|
21-06-2007, 07:58 PM
|
#19 (permalink)
|
|
El mooooo
Join Date: Jan 2006
Location: India
Posts: 1,414
|
Re: User Power help!Urgent
Quote:
|
Originally Posted by QwertyManiac
I suggested him that one
|
Ah, I see now
__________________
Windows users shouldn't get to use the real computers. They know just enough to be dangerous.
|
|
|
21-06-2007, 08:09 PM
|
#20 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: User Power help!Urgent
Haha I did both and working fine L  Thanks to all of you  Btw 1 'st 1 was way better .. Lets try this 1 too
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
21-06-2007, 10:58 PM
|
#21 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: User Power help!Urgent
the thing u just understood was called file permission system in UNIX-like Operating systems.this is the reason why u simply cant access some directories,files.
and that itself prevents Viruses,spywares to be able to run on Linux.so no need for anti-virus,anti-spyware,anti-anything<add tag>
Quote:
Differences between operating systems
Unix-like and otherwise POSIX-compliant systems, including Linux-based systems and Mac OS X (through version 10.3), have a simple system for managing individual file permissions. POSIX also specifies a system of access control lists, but it is only implemented by certain file systems and operating systems.
DOS variants (including the Microsoft products MS-DOS, Windows 95, Windows 98, and Windows Me) do not have permissions. There is a "read-only" attribute that can be set or unset on a file by any user or program.
Microsoft Windows NT and its derivatives (including Windows 2000 and Windows XP), as well as VMS and OpenVMS use access control lists (ACLs) to administer a more complex and varied set of permissions.
Classic Mac OSes are similar to DOS variants and DOS based Windows: they do not support permissions, but only a "Protected" file attribute.
Mac OS X, beginning with version 10.4 ("Tiger"), supports both the use of complex access control lists (ACLs) and the traditional POSIX-compliant Unix-like simple system for managing individual file permissions. It also still supports the Mac OS Classic's "Protected" attribute.
|
http://en.wikipedia.org/wiki/File_sy...rating_systems
read:
http://en.wikipedia.org/wiki/File_system_permissions
http://tldp.org is a nice site for Understanding different Linux and GNU software basics and they got good Howtos.
LINUX NEWBIE ADMINISTRATOR GUIDE
www.linuxnewbieguide.org
www.ubuntuvideo.com/ -video guide
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
22-06-2007, 06:47 AM
|
#22 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: User Power help!Urgent
Thanks a ton for the link
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
22-06-2007, 08:51 AM
|
#23 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
Re: User Power help!Urgent
I already told him to vist tldp.org.. Its a great place to start
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|