Quote:
Originally Posted by poiuiop316
okay so, i'm 13 so could you "stupify" that for me?
|
youth doesn't explain ignorance, nor does age imply knowledge.
Don't let anyone look down on you because you are young...
1 Timothy 4:12 NIV
not exactly sure what your question is, so i'll try to explain as much as possible:
linux has something called uid's and gid's. this stands for UserID and GroupID. each group and user also has a name.
linux has something called a terminal. you can open this and type different commands. the simplest terminal you can bring up on KDE is by hitting alt-F2. then you can type a command into that terminal. if you have KDE, you probably also have konsole. you can open that by hitting 'alt-f2' then typing konsole.
now you have a consol (i guess that's a terminal window, i'm not too sure) where you can type commands.
try this one:
ls -l
that should bring up some file names like this:
-rw-rw-r-- 1 dan dan 23164 2009-06-15 17:33
the first thing is permissions, and the two that say 'dan' 'dan' on my screen are the group and user that owns the files.
then you can try this one:
ls -n
that should bring up some files like this:
-rw-rw-r-- 1 500 500 56757 2008-12-19 17:55
in place of the username and group name, you see gid's and uid's. so, user dan is the same as uid 500 (on my system, at least.)
this is what i meant when i said:
"uid stands for a NUMBER, not your username."
then i said:
do this command:
id Administrator
i just mean type 'id Administrator' in the terminal/console (konsole, maybe). my system has no 'administrator' - so, i might type 'root' or 'dan'
id root
gives me back:
uid=0(root) gid=0(root) groups=0(root)
that tells me the uid, gid, and what groups root belongs to. (i think, but i'm not really sure. when this happens, i can always say 'command --help' or 'man command' - this will tell me everything i need to know about a command. in this case, i would type: 'man id' or 'id --help' to find out more.)
and that's where the rest comes from:
and use the number that command returns.
for example, on my system:
$ id root
uid=0(root) gid=0(root) groups=0(root)
so, my mount command would be:
mount -o loop,offset=32256 -o uid=0 /path/to/image.img /mnt/<dir name>
so, if you're baffled by this explanation... well, just remember that we're not exactly dealing with changeable parts here. if you asked me how to tighten your head bolts on your car, i could say, "turn it to a torque of 215 lbs and then use a serpentine drive belt remover to turn it by another 3/4 turn" - i'd probably be wrong when i told you that, and it'd probably be more helpful for me to tell you how to use a torque wrench and how to find the torque of your engine's head bolts...