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
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!