Author Topic: sudo to startx??!  (Read 8325 times)

0 Members and 1 Guest are viewing this topic.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: sudo to startx??!
« Reply #15 on: June 27, 2006, 10:59:43 am »
:\
I did it your way. Whatever.  I'm the only one in my family that even remotely knows how to use Linux. My brother's probably used Red Hat once or twice at work, but he doesn't make a habit of it.  He's sorta like War. :P
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: sudo to startx??!
« Reply #16 on: June 27, 2006, 12:38:49 pm »
I don't care if you're the only user, using 0777 isn't something you should be accustomed to. 
QFT.  It's like solving a permissions problem on Windows by assigning the Everyone group Full Access.

It's just not smart.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: sudo to startx??!
« Reply #17 on: June 27, 2006, 01:45:37 pm »
I don't care if you're the only user, using 0777 isn't something you should be accustomed to. 
QFT.  It's like solving a permissions problem on Windows by assigning the Everyone group Full Access.

It's just not smart.
Yeah, that's how I eventually fixed Windows' permission problems.  But I think that it's an awful lot easier to assign permissions and access on Linux, because on Windows it seemed absolutely horrible. 

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: sudo to startx??!
« Reply #18 on: June 27, 2006, 02:57:19 pm »
As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: sudo to startx??!
« Reply #19 on: June 27, 2006, 03:40:09 pm »
As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?

Octal notation.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: sudo to startx??!
« Reply #20 on: June 27, 2006, 04:28:05 pm »
As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?

Octal notation.

Correct.  Although chmod numbers are always octal, the leading 0 is added for the benefit of anybody reading it. 

The 0 can also be a 1, 2, or 4 for interesting effects.  Try it out!

Hint:
Quote
ron@South:~$ chmod 01700 test.txt; ls -l test.txt
-rwx-----T  1 ron users 0 2006-06-27 15:28 test.txt*

ron@South:~$ chmod 02700 test.txt; ls -l test.txt
-rwx--S---  1 ron users 0 2006-06-27 15:28 test.txt*

ron@South:~$ chmod 03700 test.txt; ls -l test.txt
-rwx--S--T  1 ron users 0 2006-06-27 15:28 test.txt*

ron@South:~$ chmod 04700 test.txt; ls -l test.txt
-rws------  1 ron users 0 2006-06-27 15:28 test.txt*

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: sudo to startx??!
« Reply #21 on: June 27, 2006, 08:31:03 pm »
I don't care if you're the only user, using 0777 isn't something you should be accustomed to. 
QFT.  It's like solving a permissions problem on Windows by assigning the Everyone group Full Access.

It's just not smart.
Yeah, that's how I eventually fixed Windows' permission problems.  But I think that it's an awful lot easier to assign permissions and access on Linux, because on Windows it seemed absolutely horrible. 

Again... it's because you don't know how to use it.  To me, it seems like Linux permissions are absolutely horrible.  And I even have a passing understanding of chmod!  :P
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: sudo to startx??!
« Reply #22 on: June 27, 2006, 09:55:13 pm »
Linux permissions are very simple, but perfectly functional, which I prefer.  Windows gets too complicated and make it too easy to make a mistake.  I've seen veteran Windows users fighting with permissions enough times...

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: sudo to startx??!
« Reply #23 on: June 27, 2006, 10:04:49 pm »
Linux permissions come in the form:

Owner, Everyone else, Root

and

Read, Write, eXecute (or special execute as the case may be).

Right?

NTFS permissions are much more granular, granting access to objects based on the thread context's Principal, which has its own security identity (SID) and group membership, where each group has its own SID.  NTFS permissions also are more granular as to what can be assigned; read, write, execute, and modify are the basic permissions, but there are also others which include the right to take ownership or backup.

So, where you say complicated, I see robust.  :P
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: sudo to startx??!
« Reply #24 on: June 28, 2006, 03:55:58 am »
I like Linux permissions, but if I were running a server for a larget network, I think I would prefer NTFS.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: sudo to startx??!
« Reply #25 on: June 28, 2006, 03:11:32 pm »
I like to change peoples passwords at random, thats permissions for you!

(note: I don't really do that, but oddly enough a certain client accused a coworker of doing so :))