WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: root user more powerful than sudo?  (Read 1831 times)

Offline P5music

  • Full Member
  • ***
  • Posts: 167
root user more powerful than sudo?
« on: November 12, 2010, 10:38:36 AM »
I do not think so, but I cannot do some things just with "sudo command" and I have to use su+root password and then command.
I ask if is it possible to use su in .xsession so I rise the privileges and then continue with the needed command.
thanks

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: root user more powerful than sudo?
« Reply #1 on: November 12, 2010, 10:58:59 AM »
The advantage with sudo, is you get root privileges just for that action. This is more secure, and recommended for most situations.

If you become root, everything you do has root privileges. You may make a mistake. If you are on the internet, and someone was to hack into your computer, it would be very vulnerable.
Many people see what is. Some people see what can be, and make a difference.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: root user more powerful than sudo?
« Reply #2 on: November 12, 2010, 11:21:41 AM »
You should not be running random sysadmin tasks in .xsession.

Offline P5music

  • Full Member
  • ***
  • Posts: 167
Re: root user more powerful than sudo?
« Reply #3 on: November 13, 2010, 02:45:14 AM »
I just need one command (not random ?!?) to be called with risen privilege : "sudo wine program.exe"
but I get ".wine is not owned by you",
while no error if I use su and then "wine program.exe".