Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GNU/Linux
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
GNU/Linux
super user session
Ben Buchli
Ranch Hand
Posts: 83
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi there,
is there a way to start a su session thru a
java
app??
when i use Runtime.getRuntime().exec( "konsole --type su" );
a konsole pops up and asks for the password. But I want it to happen in the background.
any suggestions?
thanks,
ben
Stefan Wagner
Ranch Hand
Posts: 1923
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What do you mean 'in background'?
With the su-password in the source-code???
Perhaps it's better to create su-permissions for a special program, which is called from your java-app.
man sudoers
http://home.arcor.de/hirnstrom/bewerbung
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
difference between terminal and shell-Konsole windows?
process execution in linux
running unix 'su 'cmd from java
system users login and login shell
apt-get problem
More...