Re: disable sudo but allow it's alias to work

2024-07-09 Thread Rusty via PLUG-discuss
Exactly correct. Security through obscurity barely works (and generally only against people who aren't really good at hacking), and doesn't work at all when your obscure method has been published on the Internet... Like below :-) On July 9, 2024 11:32:26 AM MST, "Snyder, Alexander J via PLUG-dis

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Snyder, Alexander J via PLUG-discuss
Security through Obscurity isn't a good methodology to adopt. It's kind of like my logic in the very early 00s, thinking that if my primary Windows partition were "D:/" instead of "C:/", I'd be safer. If you're concerned about a malicious script, then just don't ever run things without first read

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
security so I don't get I script that say sudo -rf or. I guess I don't really need to worry about that, huh? On Tue, Jul 9, 2024 at 1:33 PM Snyder, Alexander J < alexan...@snyderfamily.co> wrote: > Why? > > What's the end goal? What are you trying to achieve? > > -- > Thanks, > Alexander > >

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Snyder, Alexander J via PLUG-discuss
Why? What's the end goal? What are you trying to achieve? -- Thanks, Alexander Sent from my Google Pixel 7 Pro On Tue, Jul 9, 2024, 10:17 Michael wrote: > Good question! I want to disable sudo while allowing its alias to work > > On Tue, Jul 9, 2024 at 12:29 PM Snyder, Alexander J < > alexan.

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
Good question! I want to disable sudo while allowing its alias to work On Tue, Jul 9, 2024 at 12:29 PM Snyder, Alexander J < alexan...@snyderfamily.co> wrote: > I think I lost the thread of this discussion somewhere along the way. What > is your desired outcome with this, Michael? > > Regardless

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Snyder, Alexander J via PLUG-discuss
I think I lost the thread of this discussion somewhere along the way. What is your desired outcome with this, Michael? Regardless of the journey, what are you hoping to achieve in the end? -- Thanks, Alexander Sent from my Google Pixel 7 Pro On Tue, Jul 9, 2024, 09:09 Michael via PLUG-discuss <

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
and I reinstalled my system and got sudo and my alias to work. ai told me to change the permissions of sudo but. wait I could create an instance of sudo closer up the path and change it's permissions. that should work. On Tue, Jul 9, 2024 at 12:05 PM Michael wrote: > I'm not antisystemd but

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
I'm not antisystemd but that is how ai told me to do it On Tue, Jul 9, 2024 at 10:28 AM Ryan Petris wrote: > I don't have an answer for you on the sudo bit, but I saw this in your > history: > > 5 nano ~/set_time_after_internet.sh > 6 chmod +x ~/set_time_after_internet.sh > > > Not su

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Ryan Petris via PLUG-discuss
I don't have an answer for you on the sudo bit, but I saw this in your history: > 5 nano ~/set_time_after_internet.sh > 6 chmod +x ~/set_time_after_internet.sh Not sure if you're anti-systemd or not, but if you use systemd-networkd (or even NetworkManager) along with systemd-timesyncd,

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
you know something nevermind. I juststarted this box so I'm going to start over again. On Tue, Jul 9, 2024 at 9:23 AM Michael wrote: > here is my history so you can see what chatgpt directed me to do: > bmike1@bmike1-desktop:~$ history > 1 xkill > 2 ls /home > 3 ls /home/bmike

Re: disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
here is my history so you can see what chatgpt directed me to do: bmike1@bmike1-desktop:~$ history 1 xkill 2 ls /home 3 ls /home/bmike1/b 4 ls /home/bmike1/ 5 nano ~/set_time_after_internet.sh 6 chmod +x ~/set_time_after_internet.sh 7 crontab -e 8 alias alias

disable sudo but allow it's alias to work

2024-07-09 Thread Michael via PLUG-discuss
chatgpt is being stupid. A couple of days ago it showed me how to create an alias for sudo and then disable sudo while letting the alias work. Well, I had a power fluctuation and that caused my box to to start booting into busybox. So I reinstalled my system and now chatgpt doesn't know how to disa