how do i exeucute a program not in "root"?
if i install a program in root, how do i start the app again in a "user" non-root account? do i right click the folder in root and change the permissions? what is the ".exe" program called in linux? btw, fedora is nice...
thanks alot :newbie: |
type exit while root... now try 'whoami' -- not root anymore, huh?
.exe = not really any such thing in linux -- *nix does not use extensions like windows... the similar file is a binary executable, but shell scripts and the likes could also be considered similar, though they are text files, most similar to windows .bat files... |
Try running "chmod 755 filename" as root. It will make the file full-permissions (read write execute) to root, and people of non-root group can read and execute, then all others can read and execute also. Good luck.
".exe = not really any such thing in linux -- *nix does not use extensions like windows... " Mmm, kind of. Executable applications in virtually all cases don't use extensions, but many other files do. P.S. You may wish to copy the executable application to a public directory on the server, such as /bin/ ... But if it requires many library files and configuration files within the same directory, that's a different story. But for most stand-alone applications, copying to /bin/ works. |
You should install programs to /usr/local or /opt. /root is reserved for the root user only.
When you install the program, add the executable to your path by creating a symbolic link to the executable in /usr/bin: Code:
ln -s /usr/local/appDirectory/executable /usr/bin I hope this helps --Ian |
Quote:
Quote:
|
All times are GMT -5. The time now is 11:56 PM. |