1,170 reputation
713
bio website
location
age
visits member for 5 years, 1 month
seen Jul 3 at 12:47

Jul
13
awarded  Enthusiast
Jul
10
comment What is the difference between unlink and rm?
Turns out Solaris with UFS does allow root to unlink non-empty directories. Not normal users though. Is there anything else that does? Not ZFS on Solaris, not anything on Linux or FreeBSD.
Jul
10
comment What is the difference between unlink and rm?
Also, I was referring to the manpages of unlink(2). Of course they care!
Jul
10
comment What is the difference between unlink and rm?
I've tested it on FreeBSD and Linux (ext2 and XFS)
Jul
10
comment What is the difference between unlink and rm?
Dan C: what are you talking about? This is complete jibberish! Have you even tested what you're saying? $ strace -e unlink unlink 1 unlink("1") = -1 EISDIR (Is a directory) unlink: cannot unlink `1': Is a directory
Jul
10
answered What is the difference between unlink and rm?
Jul
10
comment What is the difference between unlink and rm?
Both Linux and FreeBSD manpages explicitly state that it will fail when trying to run unlink() on a directory.
Jul
10
comment What is the difference between unlink and rm?
What are you talking about? $ mkdir -p 1/2/3 $ unlink 1 unlink: cannot unlink `1': Is a directory Users causing "memory" leak requiring fsck? Unlikely!
Jul
10
revised Spanning Tree Setup
added 221 characters in body
Jul
10
comment IP Addresses: OK for sites to publicly expose your IP details?
Why not do that for the user then? Why should the user go through hoops?
Jul
10
answered IP Addresses: OK for sites to publicly expose your IP details?
Jul
8
awarded  Student
Jul
8
awarded  Scholar
Jul
8
accepted Can I “atomically” swap a raid5 drive in Linux software raid?
Jul
8
comment What are your favorite open source tools?
Sounds like x2x and/or x2vnc (but doesn't require the "hijacker" to be running X)
Jul
8
revised Spanning Tree Setup
Update after question provided network map
Jul
7
answered How can I run sudo commands without sudo access?
Jul
7
revised Spanning Tree Setup
Added bad scenario
Jul
7
answered Spanning Tree Setup
Jul
7
comment Editing sudoers file to restrict a user's commands
It sucks that Linux no longer has securelevels. They weren't perfect, but man were they easy to set up. They didn't prevent reboot, but prevented a lot of other stuff. And since they were so easy you could use them on all systems. No tweaking and such needed.