Results 1 to 10 of 17

Thread: Application icon for Linux

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Aaah, the magic of sudo...

    @carinswm: Its not just installers that can't mess with system files in Linux, viruses, little children, accidental keystrokes, hackers, spammers and etc... In linux - if you ain't got the sudo code - you ain't got acces to me system files... Your files fine, but the system files or someone else's files higher in the permission heirachy - no sudo code, no can do.

    Its a nice system when you use it every day though, and since you haven't got to worry about viruses being able to do anything, you don't have to spend any resources on an antivirus etc...
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  2. #2
    PGDCE Developer Carver413's Avatar
    Join Date
    Jun 2010
    Location
    Spokane,WA,Usa
    Posts
    206
    you can sudo just about anything so why not just sudo your file to do the setup

  3. #3
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    And you do. Sudo runs the command after it with root privileges, after prompting you for you password. The downside, is that if you ran a command from a shell after a 'sudo su' and in many instances a 'sudo xyz' where xyz was your command, xyz would use /root as the home directory where to store preferences, documents etc... Instead of /home/yourhomedirectory and inputting your password every run is tedious too.

    I hope that clears up your understanding of how sudo works on Linux.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •