what you read about is probably something round the lines of
cat filename | grep pattern
while the usage of grep (as an example for a command) is:
grep pattern filename
hence cat is superfluous.
as already mentioned by others "sudo" is often used when it isn't needed too.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Search found 89 matches
- 2019-02-28 07:21
- Forum: Beginners Questions
- Topic: What if not cat?
- Replies: 8
- Views: 3888
- 2019-02-22 05:31
- Forum: General Questions
- Topic: Remove part of foldername!!!
- Replies: 4
- Views: 2423
Re: Remove part of foldername!!!
either the program "rename" or "parameter expansion" comes to mind: http://mywiki.wooledge.org/BashFAQ/073?action=show&redirect=ParameterExpansion but, bad news, if you go for: for i in my\ images/*; do echo "${i%)*}"; done it will remove including the ). This seems...
- 2019-01-25 16:03
- Forum: General Debian
- Topic: Various systemd vulnerabilities
- Replies: 17
- Views: 16338
Re: Various systemd vulnerabilities
Go ahead and lock it, see if I care. Correcting misinformation is not offtopic. It is extremely ON topic. I'll call out B.S. when I see it, golinux might miss dasein, but I will always channel my inner RickH. It nearly seems bald-faced to mention someone like dasein in the same sentence as rickh. B...
- 2019-01-21 06:55
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
What are personalized directories?millpond wrote:
As an exampke: I use personalized directories for my files. In running my P2p client and FF (as a user)
I know in advance that the next comment will again make use of terms no one has heard of yet.
I am out.
- 2019-01-21 06:54
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
... is that he doesn't have to type a password (?). Prettty much the only application i need to run as root is gparted anyway. See my first response for no passwords. See if you have a /etc/sudoers.d/ file. For gparted there is now a policy file for /usr/share/polkit-1/actions. With polkit installe...
- 2019-01-20 16:22
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
Thanks for sure. Thing is: i still don't understand what the trouble is :-) As said above, i don't set up anything. I just type su, and that's it. If i want to start a gui app, i just type it's command in a terminal , after i typed su (load of yada you have to use su - and such, but most of the time...
- 2019-01-20 08:30
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
Yo. My two cents is on the fact that there are a hundred gksu references on the system(s). To avoid that, maybe everything is happening in gksu provided terminals, which is now broken. So the temptation is to simply run as root. Perhaps you can give me an example for one of those references, i am s...
- 2019-01-19 17:14
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
@CwF: sorry. i changed it.
- 2019-01-19 08:33
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
much of the newer stuff as an imposition. I can, and have run those scripts out of rooted terminals, but am simply inquiring as to whether anyone has taken the opposite approach and have the superuser using 'using user level terminals' to run anything suspect. Like ssh. What are root and user termi...
- 2019-01-18 07:28
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
Y NB: What I am talking about is not something that should be tried by novice users without some experience about what and how system damage may occur. But one can do just as much damage as a 'user' as 'root' in the right places. what would that be? and don't start with anything happening in home, ...
- 2019-01-17 07:50
- Forum: General Debian
- Topic: Debian systemd maintainer "taking a break"
- Replies: 51
- Views: 43412
Re: Debian systemd maintainer "taking a break"
what the maintainer of systemd wrote: that sure is funny. as far systemd is concerned, lemme quote J. Joyce: Every jackass on the road has got ideas bit of a shame debian now is among the jackass crowd too, following hypes in a hurry, but well ... (it was well known - and hated - for the exact oppos...
- 2019-01-17 07:44
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
I would say a system doesn't "boot to root or user",
but to a login prompt or a display-manager.
use the former, log in as root, case closed.
but to a login prompt or a display-manager.
use the former, log in as root, case closed.
- 2019-01-16 07:48
- Forum: Off-Topic
- Topic: Two fast clicks, Close Shortcut Algorithm
- Replies: 7
- Views: 4980
Re: Two fast clicks, Close Shortcut Algorithm
if you use bash, use [[, not [.
if you use [, use quotes.
and don't use uppercase variables in your scripts.
don't use cat to get content of files, but "read".
minor? of course.
if you use [, use quotes.
and don't use uppercase variables in your scripts.
don't use cat to get content of files, but "read".
minor? of course.
- 2019-01-16 07:40
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
Again: what limits you speak of?No sudo, no limits of any kind.
Might well be me, but i hear a lot of big buzz words, but got no clue what the heck your real problem is.
- 2019-01-15 15:08
- Forum: Off-Topic
- Topic: Single User Security
- Replies: 65
- Views: 46489
Re: Single User Security
I fail to see the problem you have described as "lack of freedom" what exactly you think you can't do? if bw123 is right and all you want is to run everything as root, then i'd say just do it, and else do security the way it is usually done. I really dont care if a hacker breaks into this ...
- 2019-01-14 15:50
- Forum: System and Network configuration
- Topic: Problems mounting remote directory using SSHFS
- Replies: 7
- Views: 3259
Re: Problems mounting remote directory using SSHFS
never did it via fstab, but i got two results which mention that the _netdev option is needed for it: user@host:/remote/folder /mount/point fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/user/.ssh/id_rsa,allow_other,reconnect 0 0 https://wiki.archlinux.org/index.ph...
- 2019-01-14 15:40
- Forum: Beginners Questions
- Topic: What's your desktop environment of choice?
- Replies: 54
- Views: 32130
Re: What's your desktop environment of choice?
I guess my answer would be: a command prompt to open applications in full screen, one app per desktop. whichever window manager does that simple task i don't care for, openbox comes with pretty much nothing, so that is what i use right now. xfce is a good DE in my book. The others i don't even under...
- 2019-01-09 13:51
- Forum: General Questions
- Topic: why does debian stable have python-pip 9 and testing 18?
- Replies: 4
- Views: 2053
Re: why does debian stable have python-pip 9 and testing 18?
you misunderstand, no one said there would be problems with python-pip18:
https://www.debian.org/doc/manuals/debi ... ng.en.html
chapter 2.2
https://www.debian.org/doc/manuals/debi ... ng.en.html
chapter 2.2
- 2019-01-09 13:04
- Forum: Debian Development Discussion
- Topic: Debian buster: are you testing?
- Replies: 51
- Views: 56004
Re: Debian buster: are you testing?
The trick is to point the sources to buster, run `apt update` then `apt-get -s dist-upgrade` then revert the sources back to stretch and `apt update` again to bring your box back to stable. You can go from stable --> testing --> unstable. But the reverse direction is not "possible". Actua...
- 2019-01-09 05:15
- Forum: Debian Development Discussion
- Topic: Debian buster: are you testing?
- Replies: 51
- Views: 56004
Re: Debian buster: are you testing?
Ah, got you. Some of mine don't even boot from USB :-) I first thought you thought about throwing it away (and my point was: perhaps ! it is still usable. You last comment seems to confirm that, but simply not with buster - right now). You don't seem to have wanted that, throwing it away, at all, so...