User Power help!Urgent

Status
Not open for further replies.

Dark Star

Cyborg Agent
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
 

QwertyManiac

Commander in Chief
Um, what you need here is temporary root access.

Via terminal:
Code:
affix [B]sudo[/B] to any command you wish to run, even cp or mv

Or for a root-session Nautilus [GUI]:
Code:
gksudo nautilus
And then you can browse your folders as root.
 
OP
Dark Star

Dark Star

Cyborg Agent
Is this teemporary root.. powers to my acounts :p How to give permanent :) Btw from where did you get alll that commands :D

Plz be a bit clear I downloaded that package and I can't copy it help me :(
 
Last edited:

QwertyManiac

Commander in Chief
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.
 

praka123

left this forum longback
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:
Code:
man  commandname
or for sudo
Code:
man  sudo
 

vignesh

Wise Old Owl
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.
 
OP
Dark Star

Dark Star

Cyborg Agent
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 . :p
 

QwertyManiac

Commander in Chief
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]
 

vignesh

Wise Old Owl
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
 

vignesh

Wise Old Owl
No ! Read the guides I pointed you too.. Here this should do

*tldp.org/LDP/intro-linux/intro-linux.pdf
 

QwertyManiac

Commander in Chief
No, shell commands all don't match DOS ones, its way far advanced than that :)

For a quick reference, you can try:
*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,

Code:
rm ABC
 
Last edited:

anantkhaitan

Burning Bright
Shashwat Pant said:
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)
Code:
$ sudo passwd root

2> Then System > Administration > Login Window > Security. There Enable "Allow local system administrator login"

3> Do not login as root :)
 

eddie

El mooooo
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?
 
OP
Dark Star

Dark Star

Cyborg Agent
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 :p
 
Status
Not open for further replies.
Top Bottom