Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Sudo makes me feel stupid some times...
New Posts  All Forums:Forum Nav:

Sudo makes me feel stupid some times... - Page 3

post #21 of 43
OSX supports SU fully, it's just they don't document a lot of advanced terminal stuff... Well they do, but the average user's resources won't have it (cause the average OSX user doesn't use it).
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #22 of 43
Quote:
Originally Posted by ch_123 View Post
Remember kids, if you want a secure system, Richard Stallman thinks you are a bad person.
is that what you took from that little snippet of information?
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #23 of 43
Quote:
Originally Posted by evermooingcow View Post
I meant to say sudo should ask for the password of whatever user you are wanting to run as rather than your own.
That command is called 'su' and has been around far longer than 'sudo'.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #24 of 43
Quote:
Originally Posted by 3dfxvoodoo View Post
you can use "su" instead
but you need the root password
the user password will not work for it
you can do `sudo su -` and it is essentially the same as su but it lets you su while using your user password as opposed to the root password.
    
CPUMotherboardGraphicsRAM
i7-2600k asrock z68 extreme4 gen3 9800 gtx+ 2x4 vegeance (8-8-8-24) 
Hard DriveCoolingOSMonitor
samsung 830 256gb+ 1tb wd green + 3tb hitachi corsair h60 windows 7/slackware/arch linux/gentoo dual 28" i-inc 
KeyboardPowerCaseMouse
filco majestouch 2 ninja cm silent pro 600w cm 690 II razer deathadder 
Mouse Pad
razer exactmatXspeed 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7-2600k asrock z68 extreme4 gen3 9800 gtx+ 2x4 vegeance (8-8-8-24) 
Hard DriveCoolingOSMonitor
samsung 830 256gb+ 1tb wd green + 3tb hitachi corsair h60 windows 7/slackware/arch linux/gentoo dual 28" i-inc 
KeyboardPowerCaseMouse
filco majestouch 2 ninja cm silent pro 600w cm 690 II razer deathadder 
Mouse Pad
razer exactmatXspeed 
  hide details  
Reply
post #25 of 43
Quote:
Originally Posted by transhour View Post
is that what you took from that little snippet of information?
If there's any way to interpret it, please let me know.
Daedalus
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 955 Gigabyte MA78GM-UD2H Gainward 9600GT GS 4GB OCZ Platinum PC2-6400 
Hard DriveOSMonitorKeyboard
250GB Samsung P120S, 1TB Samsung F1 Window 7 64bit/Arch Linux Samsung 204B 20"/Dell 1701FP IBM Model F and others 
PowerCaseMouse
Corsair HX620 Lian-Li V350B Steelseries Ikari Laser 
  hide details  
Reply
Daedalus
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 955 Gigabyte MA78GM-UD2H Gainward 9600GT GS 4GB OCZ Platinum PC2-6400 
Hard DriveOSMonitorKeyboard
250GB Samsung P120S, 1TB Samsung F1 Window 7 64bit/Arch Linux Samsung 204B 20"/Dell 1701FP IBM Model F and others 
PowerCaseMouse
Corsair HX620 Lian-Li V350B Steelseries Ikari Laser 
  hide details  
Reply
post #26 of 43
Quote:
Originally Posted by ch_123 View Post
If there's any way to interpret it, please let me know.
security thru obscurity...

basically what he is saying, you already have su, what is the need of a "super user" group like wheel? other than to obscure security.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #27 of 43
Quote:
Originally Posted by transhour View Post
security thru obscurity...

basically what he is saying, you already have su, what is the need of a "super user" group like wheel? other than to obscure security.
I don't see how it is "obscure" in any way...
post #28 of 43
Quote:
Originally Posted by transhour View Post
security thru obscurity...

basically what he is saying, you already have su, what is the need of a "super user" group like wheel? other than to obscure security.
It's useful to have an additional layer of security in case the password is compromised. The issue here is not that he questions the usefulness of the feature - but on the contrary he wants rid of it specifically so that people who are not meant to be root can become root. It's basically dumbing down the security for the sole reason of making it possible for an unauthorized user to get root on the machine. Maybe that was fine during his glory hacker days in MIT, but you'd think that an OS that is widely used by governments, banks, etc will not have a disdain for system administrators designed in the the basic OS tools (as he basically says out straight)
Edited by ch_123 - 2/21/11 at 5:33am
Daedalus
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 955 Gigabyte MA78GM-UD2H Gainward 9600GT GS 4GB OCZ Platinum PC2-6400 
Hard DriveOSMonitorKeyboard
250GB Samsung P120S, 1TB Samsung F1 Window 7 64bit/Arch Linux Samsung 204B 20"/Dell 1701FP IBM Model F and others 
PowerCaseMouse
Corsair HX620 Lian-Li V350B Steelseries Ikari Laser 
  hide details  
Reply
Daedalus
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 955 Gigabyte MA78GM-UD2H Gainward 9600GT GS 4GB OCZ Platinum PC2-6400 
Hard DriveOSMonitorKeyboard
250GB Samsung P120S, 1TB Samsung F1 Window 7 64bit/Arch Linux Samsung 204B 20"/Dell 1701FP IBM Model F and others 
PowerCaseMouse
Corsair HX620 Lian-Li V350B Steelseries Ikari Laser 
  hide details  
Reply
post #29 of 43
The GNU project is about software freedom. If you are for software freedom in its fullest, you can't possibly support the concept of a wheel group. If you are willing to compromise, then of course you can support it. But supporting it would be hypocritical of Stallman and the GNU project. I completely understand his position, even if I don't necessarily agree with it (I'd need to think about it more to decide if I do or not).

In any case, if an unauthorised user managed to guess your root password, then there's a good chance that they will guess the password of a user of the wheel group even faster, since it's likely to be less complex. It may well be an additional layer of security, but it's weaker than the one that the unauthorised user just breached, so it's sort of redundant.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #30 of 43
if multiple users needed root access but not necessarily needed the root password is one example for having sudo; also some of the big financial services companies log the sudo command as a way to have a paper trail of what is going on and by whom.
    
CPUMotherboardGraphicsRAM
i7-2600k asrock z68 extreme4 gen3 9800 gtx+ 2x4 vegeance (8-8-8-24) 
Hard DriveCoolingOSMonitor
samsung 830 256gb+ 1tb wd green + 3tb hitachi corsair h60 windows 7/slackware/arch linux/gentoo dual 28" i-inc 
KeyboardPowerCaseMouse
filco majestouch 2 ninja cm silent pro 600w cm 690 II razer deathadder 
Mouse Pad
razer exactmatXspeed 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7-2600k asrock z68 extreme4 gen3 9800 gtx+ 2x4 vegeance (8-8-8-24) 
Hard DriveCoolingOSMonitor
samsung 830 256gb+ 1tb wd green + 3tb hitachi corsair h60 windows 7/slackware/arch linux/gentoo dual 28" i-inc 
KeyboardPowerCaseMouse
filco majestouch 2 ninja cm silent pro 600w cm 690 II razer deathadder 
Mouse Pad
razer exactmatXspeed 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Sudo makes me feel stupid some times...