I am trying to provide a method for a user 'a' to enable/disable access to a remote Sun box for user 'b'. One way I thought of doing this was to create a dummy shell that the account for user 'b' would be created against, and symbolically link this to a real shell (i.e. /usr/bin/bash) when access is granted and move the symbolic link to a different shell (one where su access is required to use it) when access is denied. This method (if I can get it to work) will ensure non root access for both users 'a' and 'b'.
So far I haven't managed to do it.
Anyone have any suggestions please!
Thanks
So far I haven't managed to do it.
Anyone have any suggestions please!
Thanks