Sponsored Content
Operating Systems Linux Red Hat changing wtmp ownership and permission Post 302140656 by fpmurphy on Monday 15th of October 2007 06:48:49 AM
Old 10-15-2007
Not sure why sombody decided the permissions should be 600, but
the permissions on this file should be 664. More than root needs to
be able to write to this file.
 

10 More Discussions You Might Find Interesting

1. Solaris

Diectory ownership ...changing

Help...... I am running a 420R w/sol 8 and I am trying to install sun's monitoring software srs netconnect. I have installed it on 6 other boxes with no problem. Installation failed with the message: ## Installing part 1 of 1. /etc/opt/SUNWsrspx/CustomerCert.pem... (6 Replies)
Discussion started by: finster
6 Replies

2. UNIX for Dummies Questions & Answers

copy directory without changing ownership setting

hi currently i am migrating some directories over to a new server. is there any command (rcp or ftp or anything) for me to use without changing the ownership and permission of the directory? i am copying some directories from unix machine to linux machine. what is the exact command? thanks... (2 Replies)
Discussion started by: legato
2 Replies

3. UNIX for Advanced & Expert Users

File group ownership changing automatically

Hi everyone, Need help with an issue. The group ownership of files on my Solaris system is getting changed automatically. Could someone tell me the reason why? And how could I correct it? One more info- everytime the ownership changes, it changes to "x". Thanks :confused: (1 Reply)
Discussion started by: top_gun
1 Replies

4. Linux

files ownership/permission problem

all the files and directories in my system are owned by root only.i try to(from root loggin) change the permission on the file but not permitted.can any one help to fix my problem .also while installing any software always error occur like no makefile available (1 Reply)
Discussion started by: jop
1 Replies

5. UNIX for Dummies Questions & Answers

changing ownership?

how would i change ownership of file1 so the user NATE gets ownership of the file? (1 Reply)
Discussion started by: trob
1 Replies

6. UNIX for Advanced & Expert Users

Permission denied, but user is owner and has group ownership too

Folks, I have a problem with a particular file, that seems to have some kind of lock on it, that takes around 1 hour approx to timeout. I have used lsof and nothing has an open file handle on it, yet I cannot open it. My user/group owns the file and I can create edit/delete files in... (6 Replies)
Discussion started by: scottrus
6 Replies

7. UNIX for Dummies Questions & Answers

regarding changing ownership and group

i am able to change the mode using chmod and able to change permission. but i am not able to change group and ownership. getting as invalid can any one help me regarding this . (4 Replies)
Discussion started by: satheeshkr_cse
4 Replies

8. Shell Programming and Scripting

Search and replace without changing ownership

I found this search and replace method on another site: find . -type f -print0 | xargs -0 sed -i 's/find/replace/g' It worked fine except for the fact that it changed ownership on all the files it went through. I discovered that when my site web server suddenly couldn't serve the pages it had... (10 Replies)
Discussion started by: dheian
10 Replies

9. Shell Programming and Scripting

Changing ownership of a directory, subdirectory and files as same as in another server

accidentally i have changed ownership of a directory,subdirectory and files wil below command. I want to the change ownership back as same as in same directory on another server. How can i do it? chown -R user:group /u01 is there any simple script? it is really an urgent need.. (2 Replies)
Discussion started by: johnveslin
2 Replies

10. Solaris

How to set multiple ownership permission on a file/directory?

Hi, Any ideas to set multiple ownership permission on a file/directory on Solaris? I need a folder to have multiple ownership on the 2 nodes servers. The 2 nodes servers require to mount a SMBFS with different user ID. Please assist. Thanks. (6 Replies)
Discussion started by: freshmeat
6 Replies
RAWTMP(1)						      General Commands Manual							 RAWTMP(1)

NAME
rawtmp - display wtmp entries in raw form. SYNOPSIS
rawtmp [-da] [-w wtmp|-] [-X[3|4]d] [-s start] [-e end] [-b H:M:S] [--help] [--version] DESCRIPTION
Rawtmp is a utility to dump the raw data in a wtmp or utmp file to the screen for viewing. It may be useful to anyone who wishes to divine the nature of the data stored in the wtmp or utmp files. It may also be useful to extract special wtmp entries that are not documented anywhere (like those netdate puts in the wtmp file). If on a logout, when the username is encoded in the ut_user field by replacing the first character of the username with a null, rawtmp will print the contents of the user field with a leading dot '.' to denote the null character. Only agetty and tacacs control software are cur- rently known to use this logging method. OPTIONS
Rawtmp understands the following command line switches: --help Outputs a verbose usage listing. --version Displays the version of rawtmp. -w wtmp Select a different input file instead of the default (/var/log/wtmp). -X[3] Read a wtmp file maintained by versions 3.3 or 3.4 Tacacs terminal server access control software. -X4 Read a wtmp file maintained by version 4.0 of Tacacs terminal server access control software. -d Output the time in MMM DD HH:MM:SS format instead of raw time for a more human readable form (and to actually know what day you're looking at!). -a Print the contents of the ut_addr field (in quad-dotted notation) instead of using the ut_host field. Note: ut_addr is almost never used and more than likely contains garbage information. -b hours[:minutes[:seconds]] Consider only those utmp entries that fall within the last few hours/minutes/seconds from the current time, disregarding the rest. -s start Selects the starting date of the report, in mm/dd/yy format. -e end Selects the ending date of the report, in mm/dd/yy format. FILES
/var/log/wtmp login database. AUTHOR
Steve Baker (ice@mama.indstate.edu) BUGS
Could use some filtering options. SEE ALSO
last(1), sac(8) UNIX Manual RAWTMP(1)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy