We are using RHEL AS 2.1 system.
1. We want to give certain priviledged commands execution permission to Valid Linux Users.
E.g A user called test should be able to execute priviledged commands such as
fdisk , setup etc. But he should not be able to execute any other priviledged commands.
How do I give such authority to a particular user.
2. How do we restrict a particular user to his home directory. He should not be able to
go anywhere else . He should not be even permitted to see(read) the files in any other
directory other than his home directory. He should not be even go ( "cd" ) to any other directory. How do we setup such user ? I know chroot is one way. But how to configure it.