Displaying 20 results from an estimated 235 matches for "bash_history".
2012 Apr 12
1
[PATCH] sysprep: remove the bash history of users
Remove the bash history of users in home directory,
and history of root.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
sysprep/Makefile.am | 2 ++
sysprep/sysprep_operation_bash_history.ml | 44 +++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
create mode 100644 sysprep/sysprep_operation_bash_history.ml
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index 8730bc0..3a48702 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -33,6 +33,7 @@ SOURCE...
2006 Feb 15
3
hiding dot files and the printer
Hi. Running Samba 3.0.20 on Slackware 10.2.
I cannot hide my unix dot files (.bash_history) using the 'hide files' or
'veto files' settings:
hide files = /.*/ { or just .* }
Also, how do I get rid of the printer folder in the top level of my share?
--
Peter
__________________________________________________________
Find your next car at http://autos.yaho...
2007 Mar 27
1
how to replace files only if larger
I am consolidating a lot of files. I have archives of Internet drafts,
from over the years.
I just pulled down all the current Internet Drafts.
I want to mv all my other stored IDs to this current directory ONLY if,
they are larger.
You may be aware that when a draft is expired, a small file is left in
the directory for some time with content like:
"This Internet-Draft has been
2008 Apr 20
1
dtrace script to monitor file access
A user has asked us to find out who is changing one of their files and how it is being changed. I came up
with the script below:
#!/usr/sbin/dtrace -s
#pragma D option quiet
BEGIN
{
printf("\n Timestamp gid uid pid ppid execname function current directory file name\n\n");
}
syscall::open:entry,
2017 Feb 17
3
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:11 PM, Pete Biggs wrote:
>> From error.log:
>>
>> [Fri Feb 17 12:56:33.478024 2017] [authz_core:error] [pid 5759] [client
>> 192.168.160.12:48290] AH01630: client denied by server configuration:
>> /usr/share/postfixadmin
> So it's an authorisation issue. In your .htaccess file change
>
> Order allow,deny
> Allow from
2002 Dec 17
2
Statistics appearing in middle of file list -- no errors
...--stats -v /. 10.1.1.60::cds101/ > /var/log/rsync.log 2>&1
along with a number of excludes to skip the /tmp, /dev, /var and /proc
directories. The output in file /var/log/rsync.log is:
building file list ... done
dev/ttyp0
etc/cups/certs/
etc/cups/certs/0
etc/mail/statistics
root/.bash_history
smb_shares/var/lib/dhcp/
smb_shares/var/lib/dhcp/dhcpd.leases
smb_shares/var/lib/dhcp/dhcpd.leases~
smb_shares/var/log/debug
smb_shares/var/log/mail
smb_shares/var/log/messages
smb_shares/var/log/rsync.log
smb_shares/var/log/secure
smb_shares/var/run/utmp
smb_shares/var/spool/clientmqueue/
smb_shar...
2016 Sep 17
2
Need help with directory create time
....1.12 - for example
after adding a new subfolder, I get a new creation time.
A software from my customer does not work because the activation key depends
on the creation time of some folders. When changing to samba4 I used a command
in the command line, which has fixed the creation time, but the bash_history
was deleted. Do you have any idea?
Otherwise I copy the files temporarily to a Windows computer and hope that you
can fix the bug with "fake directory create times" soon.
Thank you very much.
2012 Jul 04
2
Strange alterations to vim and related packages on KVM host
...master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
#
# modified: ../etc/virsh.run
# modified: .Xauthority
# modified: .bash_history
# modified: ../selinux/policy
# modified: ../usr/bin/gdb
# modified: ../usr/bin/gvim
# modified: ../usr/bin/vim
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# ../.readahead_collect
When I check the d...
2009 Mar 03
0
unable to use myse home share on a member server
...n zero vc = yes
msdfs root = No
[homes]
comment = Repertoire Home
path = /rsrv/vol1/home/%U
force user = %U
read only = No
directory mask = 0700
browseable = No
hide dot files = yes
veto files =
/.bash_logout/.bash_profile/.bash_history/.bashrc/.gtkrc/.kde/.mc/.xarkeia/
inherit permissions = Yes
inherit acls = Yes
....
[archives]
comment = Repertoire archives
path = /rsrv/vol2/archives/%U
force user = %U
read only = No
directory mask = 0700
# browseable = No...
2016 Aug 24
0
Linux Work Station USER ID PROBLEM
...tombul) gid=100(users) groups=100(users)
>
> [root at mems btombul]# ls -al
> total 28
> drwx------ 4 FACILITY\btombul users 108 Aug 24 11:34 .
> drwxr-xr-x 210 root users 8192 Aug 24 11:33 ..
> -rw------- 1 16777216 16777216 7 Aug 24
> 11:34 .bash_history -rw------- 1 16777216 16777216 18 Aug
> 24 11:33 .bash_logout -rw------- 1 16777216 16777216 176
> Aug 24 11:33 .bash_profile -rw------- 1 16777216 16777216
> 124 Aug 24 11:33 .bashrc drwx------ 2 16777216 16777216
> 6 Aug 24 11:33 .gnome2 drwx...
2004 Jan 06
5
Logging user activities
Hello,
What do you recommend for keeping track of user
activities? For preserving bash histories I followed
these recommendations:
http://www.defcon1.org/secure-command.html
They include using 'chflags sappnd .bash_history',
enabling process accounting, and the like.
My goal is to "watch the watchers," i.e. watch for
abuse of power by SOC people with the ability to view
traffic captured by sniffers.
I plan to use sudo to limit and audit user activities
too. I may also try some of the patches to bas...
2002 Apr 06
1
ERROR: chroot failed
...s
"Rsync Backup Log" my@emailaddres < /tmp/backup.log
The 7.1 rsyncd.cond;
[home]
path = /home/brad/data/emailbackup
read only = no
uid = root
gid = root
The 7.0 client command:
rsync -avt /home homeserver::home
The emailed log file:
building file list ... done
home/brad/
home/brad/.bash_history
home/brad/Sent
home/brad/Trash
home/sales/
home/sales/Sent
home/sales/Trash
home/brad/
home/sales/
wrote 2890098 bytes read 494604 bytes 9062.12 bytes/sec
total size is 1946474433 speedup is 575.08
@ERROR: chroot failed
Can anyone shed any light on this?
Regards,
Brad
2016 Sep 05
5
ACL wrong category user for group and group for user
...# For ACL support on member server
vfs objects = acl_xattr
map acl inherit = Yes
store dos attributes = Yes
# Share Setting Globally
usershare allow guests = no
unix extensions = no
wide links = no
reset on zero vc = yes
veto files = /.bash_logout/.bash_profile/.bash_history/.bashrc/
hide unreadable = yes
# disable printing completely
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
[home]
path = /home/samba/ARIANE/users
read only = no
[profiles$]
path = /home/samba/ARIANE/profiles
read only =...
2018 Sep 20
5
Global sieve doesn't run and I don't know why
...ranbir -> /var/spool/mail/domain.tld/ranbir/
And the contents of that dir:
[root at mailhost conf.d]# ls -al /home/DOMAIN/ranbir/
total 64
drwxrwx---. 4 ranbir virtual 4096 Sep 18 17:40 .
drwxrwx---+ 13 virtual virtual 4096 Jul 8 12:06 ..
-rw-------. 1 ranbir ranbir 17808 Sep 20 01:13 .bash_history
-rw-------. 1 ranbir ranbir 18 Dec 14 2015 .bash_logout
-rw-------. 1 ranbir ranbir 193 Dec 14 2015 .bash_profile
-rw-------. 1 ranbir ranbir 231 Dec 14 2015 .bashrc
lrwxrwxrwx. 1 virtual virtual 23 Feb 11 2018 .dovecot.sieve -> sieve/managesieve.sieve
lrwxrwxrwx. 1 virt...
2016 Aug 24
4
Linux Work Station USER ID PROBLEM
...id btombul
uid=3000105(FACILITY\btombul) gid=100(users) groups=100(users)
[root at mems btombul]# ls -al
total 28
drwx------ 4 FACILITY\btombul users 108 Aug 24 11:34 .
drwxr-xr-x 210 root users 8192 Aug 24 11:33 ..
-rw------- 1 16777216 16777216 7 Aug 24 11:34 .bash_history
-rw------- 1 16777216 16777216 18 Aug 24 11:33 .bash_logout
-rw------- 1 16777216 16777216 176 Aug 24 11:33 .bash_profile
-rw------- 1 16777216 16777216 124 Aug 24 11:33 .bashrc
drwx------ 2 16777216 16777216 6 Aug 24 11:33 .gnome2
drwx------ 4...
2004 Jan 01
1
.ssh/: Is a directory
...un the command just once if possible :)
Is it possible I could get a patch if this is changed?
[root /root]# ls -la
total 84
drwxr-x--- 9 root root 4096 Dec 17 19:18 .
drwxr-xr-x 16 root root 4096 May 15 2002 ..
-rw------- 1 root root 23828 Dec 29 07:50 .bash_history
[root /root]# scp www.zeffie.com:/root/.ssh/a* .ssh/
The authenticity of host 'www.zeffie.com (207.blablabla)' can't be
established.
RSA key fingerprint is
19blablablablablablablablablablablablablablablablablabla
Are you sure you want to continue connecting (yes/no)? yes
Warning: Perman...
2003 Nov 01
1
an --exclude-from question
.../mis/etc # mirror.home
opening tcp connection to 10.0.18.27 port 873
receiving file list ...
done
expand file_list to 4000 bytes, did move
excluding directory daydream/public_html because of pattern public_html
deleting in .
delta-transmission disabled for local transfer or --whole-file
daydream/.bash_history is uptodate
daydream/.bashrc is uptodate
daydream/.profile is uptodate
jp/.bash_history is uptodate
jp/.bashrc is uptodate
jp/.muttrc is uptodate
jp/.profile is uptodate
jp/.spamassassin/user_prefs is uptodate
jp/Mailbox is uptodate
jp/passwd is uptodate
rsync[2509] (receiver) heap statistics:
ar...
2012 Apr 13
1
[PATCH 1/2] sysprep: remove .ssh directory in users' directory
Remove the .ssh directory of user "root" and any other
users who have a .ssh directory in their home directorys.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
TODO | 1 -
sysprep/Makefile.am | 2 ++
sysprep/sysprep_operation_ssh_userdir.ml | 46 ++++++++++++++++++++++++++++++
3 files changed, 48
2020 Jan 28
0
Timer doesn't appear to start
If you look closer at:
> pi at nutpi:~ $ sudo ls -alt /home/nutmon
> total 32
> -rw------- 1 nutmon nutmon 172 Jan 26 12:32 .bash_history
> drwxrwx--- 2 nutmon nutmon 4096 Jan 26 12:32 upssched
there is a d in the first position of the upssched permissions showing this
is a directory. This is the directory location for PIPEFN and LOCKFN as
defined in upssched-cmd
PIPEFN /home/nutmon/upssched/upssched.pipe
LOCKFN /home/nutm...
2000 Jun 11
1
NFS Quotas and Samba 2.0.7
...ublic_html D 0 Sun Apr 9 12:07:52 2000
cgi-bin D 0 Sun Apr 9 12:07:52 2000
mail D 0 Sun May 21 16:36:25 2000
.pinerc H 11603 Mon May 1 00:09:26 2000
.bash_history H 414 Sun May 21 16:47:57 2000
.addressbook H 0 Sun Apr 9 12:12:51 2000
.addressbook.lu H 2285 Sun Apr 9 12:12:51 2000
53306 blocks of size 131072. 3465 blocks available
smb: \>
But if I w...