Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-06-2007, 08:12 AM   #1 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Exclamation 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/
Dark Star is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-06-2007, 08:18 AM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default 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]:
Code:
gksudo nautilus
And then you can browse your folders as root.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 21-06-2007, 09:37 AM   #3 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default 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
Dark Star is offline  
Old 21-06-2007, 10:24 AM   #4 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default 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
QwertyManiac is offline  
Old 21-06-2007, 10:27 AM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile 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:
Code:
man  commandname
or for sudo
Code:
man  sudo
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 21-06-2007, 10:28 AM   #6 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: User Power help!Urgent

And about commands, you learn them on the way.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 21-06-2007, 10:32 AM   #7 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default 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.
vignesh is offline  
Old 21-06-2007, 10:41 AM   #8 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default 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/
Dark Star is offline  
Old 21-06-2007, 11:08 AM   #9 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default 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
QwertyManiac is offline  
Old 21-06-2007, 11:12 AM   #10 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default 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/
Dark Star is offline  
Old 21-06-2007, 11:17 AM   #11 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default 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
vignesh is offline  
Old 21-06-2007, 11:19 AM   #12 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default 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/
Dark Star is offline  
Old 21-06-2007, 11:20 AM   #13 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default Re: User Power help!Urgent

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

http://tldp.org/LDP/intro-linux/intro-linux.pdf
vignesh is offline  
Old 21-06-2007, 11:28 AM   #14 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default 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,

Code:
rm ABC
__________________
Harsh J
www.harshj.com

Last edited by QwertyManiac; 21-06-2007 at 11:34 AM.
QwertyManiac is offline  
Old 21-06-2007, 05:27 PM   #15 (permalink)
Burning Bright
 
anantkhaitan's Avatar
 
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
Default 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)
Code:
$ sudo passwd root
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/
anantkhaitan is offline  
Old 21-06-2007, 07:40 PM   #16 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default 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.
eddie is offline  
Old 21-06-2007, 07:46 PM   #17 (permalink)
Burning Bright
 
anantkhaitan's Avatar
 
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
Default 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/
anantkhaitan is offline  
Old 21-06-2007, 07:53 PM   #18 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default 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
QwertyManiac is offline  
Old 21-06-2007, 07:58 PM   #19 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default 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.
eddie is offline  
Old 21-06-2007, 08:09 PM   #20 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default 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/
Dark Star is offline  
Old 21-06-2007, 10:58 PM   #21 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile 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
praka123 is offline  
Old 22-06-2007, 06:47 AM   #22 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: User Power help!Urgent

Thanks a ton for the link
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 22-06-2007, 08:51 AM   #23 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default Re: User Power help!Urgent

I already told him to vist tldp.org.. Its a great place to start
vignesh is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help! urgent - bband suddenly showing invalid user id/pwd tech_lover Hardware Q&A 4 04-05-2007 01:19 AM
screen resolution of one user should not effect other user in winXp digiFriend Software Q&A 2 05-08-2006 10:41 PM
!!! URGENT !!! How to recover user settings in XP? Vishal Gupta Software Q&A 2 07-11-2005 02:38 AM
power supply for this rig PLEASE HELP!URGENT! tamalsen QnA (read only) 18 28-09-2005 04:18 PM
URGENT, MOBO-PROCESSOR POWER EQUATION technomodel CPU / Motherboards 14 03-08-2004 05:35 AM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2