Java switch user using su on linux -
i writing java program dor oracle ebs needs switch user because of specific permissions defined on user different applmgr. approach we're taking have java class switch user on separate session , list file folder new user has access.
any options available?
so far create 2 shell script files , run these shell scripts, 1 store environment variables , other 1 switch user , list files.
appreciate help.
you change group permissions on file. start system.process( "su user && cat file" ); have other user copy file using cronjob...
Comments
Post a Comment