Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: I don't want sudo on my system., Angel.< Next Oldest | Next Newest >
andrewphoto Offline





Group: Members
Posts: 189
Joined: June 2005
Posted: June 08 2005,13:42 QUOTE

I've deleted sudo.
I shutdown root shutdown -h now.
Why don't I want sudo. Ask Arnie or Neo. You have 20 seconds to comply.
/fluxbox/menu uses sudo. Used anywhere else?????
OK. Definately reasonable question. Do I have to have sudo?????
I hope not for laughter or scorn. Skepticism (us scepticism,) OK. Sceptome is a Greek verb - to think. Ti kanis. Katalavenis. Tha ta poume. Yasu.

I don't really know C. I know a little Javascript.
I am trying to GUI shutdown.

fluxbox/menu
I tried:
 [exec] {su root} {"mypassword"} {-e shutdown -h now}

Perhaps a reasonable effort.
Please would anybody inform me is it possible can I do it any suggestions any pointers.

Best Regards friends.

Rookie.

P.s. How many MB the OS (not ISO,) no programs?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 08 2005,14:57 QUOTE

Installing myDSL apps requires sudo, unless you want to do some of the process manually.
Other scripts that require sudo:
The "add users" gui
control panel
dsl-usbinstall
filetool.sh
pppdial gui

Your fluxbox menu isn't going to work.  For regular commands the menu line has to look like this:
[exec] (label) {command}
So maybe this will work:
[exec] (shutdown) {rxvt -e su -c "shutdown -h now"}


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
friedgold Offline





Group: Members
Posts: 122
Joined: Mar. 2005
Posted: June 08 2005,15:20 QUOTE

What is your motivation for deleting sudo? If you feel it is a security risk to allow sudo without a password then you can tighten things up by editing your /etc/sudoers file. For example you could require a password for all programs except some of the ones mikshaw mentioned.

If you really don't want sudo but want some things to run as root you could use chmod to change the set user id property. However this is probably more insecure than using sudo.
Back to top
Profile PM 
green Offline





Group: Members
Posts: 453
Joined: Oct. 2004
Posted: June 08 2005,19:52 QUOTE

I think this post belongs on the humor section....
Back to top
Profile PM 
andrewphoto Offline





Group: Members
Posts: 189
Joined: June 2005
Posted: June 09 2005,14:20 QUOTE

Thank You mikshaw and friedgold.
Question. Answer. Treasure.
The C guys are the A team.
Admired respected valued loved appreciated.

Reinstalled vanilla but may choose to de-sudo at some point.

Friedgold. Part of my motivation for deleting sudo is this.
Began Linux 2 years ago Red Hat 6.
I am a rookie and if I gave any advice to a rookie it is this:
do not run as root. Likely you'll WASTE TIME amending mistakes (read the instruction manual!)
I guess you understand what I mean.
Maybe de-sudo is sledgehammer to nut, but my personal methodology protocol was curious.
Best Regards.
Back to top
Profile PM 
5 replies since June 08 2005,13:42 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: I don't want sudo on my system.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code