Tiny Core Base > TCB Tips & Tricks

how does hexedit change my boot record without sudo

<< < (2/3) > >>

gerald_clark:
You have started multiple threads with questions that make no sense and demonstrate
a lack of understanding of basic Linux concepts.

Instead of beating around the bush, it would be better if you clearly stated what you are trying to accomplish,
what you have tried, and what does not work.

There is an old computer saying.
GIGO
Garbage In Garbage Out.
You will not get good answers with bad questions.

ibug:

--- Quote from: gerald_clark on February 05, 2012, 03:25:24 PM ---You have started multiple threads with questions that make no sense and demonstrate
a lack of understanding of basic Linux concepts.

Instead of beating around the bush, it would be better if you clearly stated what you are trying to accomplish,
what you have tried, and what does not work.

There is an old computer saying.
GIGO
Garbage In Garbage Out.
You will not get good answers with bad questions.

--- End quote ---

# ok from begining
# in tc standard user named tc
dd if=/dev/sdb1 of=sdb1
hexedit /dev/sdb1  # make change and save
hexedit /dev/sdb1  # check if change are correctly written
dd if=sdb1 of=/dev/sdb1
hexedit /dev/sdb1  # check if change are restored
# and changes are restored it is a good thing for an recovery linux
# but why writing to partition without sudo su

# ok from begining the only question from which version of TC this is possible

gerald_clark:
No version of tc will allow you to violate standard unix permissions.

Lee:

--- Quote from: Rich on February 05, 2012, 01:54:13 PM ---If the drive you wish to mount is listed in  /etc/fstab  and the fourth column (mount options) contains
the word  users , you don't need  sudo  to mount it, just  mount /mnt/sdb1  will suffice, as will
mount /dev/sdb1.

--- End quote ---

Thanks for that tip, Rich.  Clearly I have some reading to do about mount and fstab, but the worry about permissions on mounting becomes a non-issue.  That also takes my point into the realm of "off topic" for this thread.

Rich:
Hi ibug
If you enter  ls -l /dev/sda1  you will get back
brw-rw---- 1 root staff 8, 1 Dec 10 21:44 /dev/sda1
You are  tc/staff  and since  staff  has  rw  permissions set you can read and write to that device.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version