Welcome, Guest. Please login or register.
Did you miss your activation email?

Recent Posts

Pages: [1] 2 3 ... 10
1
Software - Support / Re: doas
« Last post by scholle1 on Today at 13:21:37 »
I tried alias sudo="doas" but it didn't work [...]

Hi titan
Both variants work for me. Tested with logout-login and reboot.
IMHO there is no need to change the manual.

System:
Code: [Select]
Debian GNU/Linux trixie/sid
siduction 2023.1.0 Standing_on_the_Shoulders_of_Giants - xfce - (202308151323)
2
Hardware - Support / Re: Partition needs rootpassword
« Last post by tct123 on Today at 02:23:28 »
Thanks, it worked :) but with sudo.
3
Hardware - Support / Re: Partition needs rootpassword
« Last post by edlin on Today at 01:57:51 »
Try
Code: [Select]
ntfsfix -b -d /dev/PARTITION
edlin
4
Hardware - Support / Partition needs rootpassword
« Last post by tct123 on Today at 01:09:06 »
Hello, I have a problem with a partition. Every time I try to access the partition, it requires an admin password. After typing it in, it shows “An error occurred while accessing 'PARTITIONNAME', the system responded: The requested operation has failed: Error mounting /dev/devicepartition at /media/username/PARTITIONNAME: wrong fs type, bad option, bad superblock on /dev/devicepartition, missing codepage or helper program, or other error
”. I use Siduction (64 bit) with KDE Plasma desktop. The filesystem is ntfs.
Kernel: 6.5.4-1-siduction-amd64.
5
Software - Support / Re: doas
« Last post by titan on Yesterday at 17:41:45 »
I tried alias sudo="doas" but it didn't work but I noticed that all the other alias in  .bashrc  used  '  so I changed to  alias sudo='doas' and it worked. I only wanted to see if it worked, I won't be using the alias.

I only use sudo/doas for one purpose, starting my vpn with wireguard otherwise I would have to leave a root terminal open
6
Software - Support / Re: doas
« Last post by edlin on Yesterday at 16:44:57 »
I think one reason for this is that sudo has been used for ages in all sorts of tutorials etc. when applications are to be run with root rights.
With doas there is a lightweight, configurable alternative.
I myself use doas or su -. With alias and/or espanso you can of course also make your work easier.
For me, doas is not a big typing task, as I mostly use it for recurring tasks and thus use the bash history.
If I have several things to do as root, I use su -; after work is done, the environment is exited with exit.

And there are a lot of reasons not to like Ubuntu, but that's another topic.

edlin
7
Software - Support / Re: doas
« Last post by eriefisher on Yesterday at 13:12:24 »
I am now using  it and it looks to be an improvement on sudo

I have to ask, why are you using it? Personally I hated using sudo. Way too much repetitive typing. I would sudo su just to avoid it all. It was also one of the several reasons I hated *buntu many years ago, along with it's instability.
8
Software - Support / Re: doas
« Last post by edlin on Yesterday at 11:22:31 »
In the concrete case, it makes no difference whether " or ' is used. In both cases doas is interpreted as a string.
With variables, for example, the situation is different:
echo "$HOME" returns the current home directory, while echo '$HOME' returns the string $HOME.
echo "doas" and echo 'doas', on the other hand, return the string doas in both cases.
Code: [Select]
edlin@Devil:~$ echo '$HOME' "and" "$HOME"
$HOME and /home/edlin
edlin@Devil:~$


Code: [Select]
edlin@Devil:~$ echo 'doas' "and" "doas"
doas and doas
edlin@Devil:~$
My entry in ~/.bashrc is alias sudo="doas ". The check returns
Code: [Select]
edlin@Devil:~$ alias
alias ls='ls --color=auto'
alias sudo='doas '
edlin@Devil:~$

edlin
9
Siduction News / Re: siduction Treff in Oranienburg
« Last post by dsat on 2023/09/24, 23:03:12 »
Moin, gibt's schon eine Location? Gruß dsat
10
Siduction News / Re: siduction Treff in Oranienburg
« Last post by pit on 2023/09/24, 22:49:28 »
Bin auch dabei und freue mich darauf.
Pages: [1] 2 3 ... 10