Is there anyway to prevent a non-sudo user from seeing specific partition? lets say "/data" partition? I know that i can prevent the user from accessing the directory, but i preffer to hide it from the user.
is there any option like that? Thanks
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
i wanted to achieve that when my support user is connected , he will not be able to see the "secret" partition.
I have achieved that by adding a "Maintenance mode" to the grub menu, from there the server will get loaded with a different run-level , and I've added a script to "umount" the secret partition while this run-level is getting loaded
Thanks for your answers!