10-18-2009
Reinstalled as in upgrade/update? The password for root will be the old one.
If that doesn't work, then try booting from the cd/dvd. Then mount the root partition and edit /etc/shadow to remove the password.
8 More Discussions You Might Find Interesting
1. Linux
Don't you just hate crackers?
Ok, I have a user on my server who is always causing trouble. He is constantly trying to get into files, change stuff, get users passwords, etc. I was wondering if Linux has a built in keystroke log, or event log of some sort that I may use to track his movements. ... (4 Replies)
Discussion started by: Phobos
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
How to track/trap the keyboard strokes in the script
say for eg, in normal scene, when a script is running, if a press control c, the program gets terminated...
so in this case, how do i trap the keystrokes so as to avoid the abort of the program..
pls help (1 Reply)
Discussion started by: vasikaran
1 Replies
3. Shell Programming and Scripting
So I'm pretty green still at this, and right now I don't even have the IF statements in just trying to get this part to work. I want to basically click optino 1,2,3,4 for which logs I want to search, and then be able to put in the variable I want to grep out? Sounds easy just not clear in my mind... (4 Replies)
Discussion started by: xgringo
4 Replies
4. Cybersecurity
Hi all,
Does anyone know if there is a tool in the market that could do the following when System Admin log to the server as root and perform activities according to his change request:
- trap or log his keystroke for the entire duration
- provide a report on the changes SA has made to the... (3 Replies)
Discussion started by: mohzub
3 Replies
5. Shell Programming and Scripting
Hi All ,
I am writing a shell script for a 3D test case . The 3D Test case involves the user to press some keys to see the changes in the 3d test case . The user has to press p , r , a , z etc to observe the changes on screen .
Now please let me know how can i implement the keystroke p , a ,... (1 Reply)
Discussion started by: dskonnur
1 Replies
6. UNIX for Dummies Questions & Answers
i have the below script:
#!/bin/bash
echo "enter a"
read a
echo "enter b"
read b
let c=a+b
echo $c
at any point of time between entering the value for a and b,if user presses ctrl+a key combination, then it should start from the beginning(the script should be restarted).
it should... (4 Replies)
Discussion started by: pandeesh
4 Replies
7. UNIX for Advanced & Expert Users
I'm having an issue with keystoke logging. As we know in unix you can press tab to auto-complete a command or whatever it is you are typing. Well keystoke logging in /var/log/ks, tabs are actually showing up as tabs rather than whatever the auto-completion was.
Any ideas? (5 Replies)
Discussion started by: scj2012
5 Replies
8. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
vipw(1B) SunOS/BSD Compatibility Package Commands vipw(1B)
NAME
vipw - edit the password file
SYNOPSIS
/usr/ucb/vipw
DESCRIPTION
vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If
the password file is already being edited, then you will be told to try again later. The vi(1) editor will be used unless the environment
variable VISUAL or EDITOR indicates an alternate editor.
vipw performs a number of consistency checks on the password entry for root, and will not allow a password file with a "mangled" root entry
to be installed. It also checks the /etc/shells file to verify the login shell for root.
FILES
/etc/ptmp
/etc/shells
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
passwd(1), vi(1), passwd(4), attributes(5)
SunOS 5.10 14 Sep 1992 vipw(1B)