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

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -