Sponsored Content
Full Discussion: I neede help!!!
Top Forums UNIX for Dummies Questions & Answers I neede help!!! Post 11022 by Kelam_Magnus on Tuesday 27th of November 2001 02:13:17 PM
Old 11-27-2001
Stay calm...

When you get in to single user mode you should be able to change the password even without knowing the old one.

When you get to single user mode or what you think is single user mode.

Do this:

mount -a (to mount all filesystems)
who -r (shows what runlevel you are at)
passwd root (changes the password for root)
.......(enter your new password, Make it easy to remember)

init 3 ( should take you to multi user mode)

All of these are generic commands and should work on your system. Please respond with your outcome.

Good luck! Smilie
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

I need to find one command from multiple files and need to print that file which contains neede com

Hi all i need your help .. I am having a multiple file in directory and i have find out the Rcopy word from these files and need to print those files which contains the Rcopy word Thanks and regards Vijay sahu (2 Replies)
Discussion started by: vijays3
2 Replies

2. UNIX for Advanced & Expert Users

Figure out the minimum os version neede to run executable or link library.

Hello, I need to figure out the minimum OS version needed to run some executable. For the following OS: Linux, AIX, Solaris. For example how do I know the minimum OS version for /bin/ls ? "file" command does not give me much information. There are some tools that are helpful for understanding... (4 Replies)
Discussion started by: +Yan
4 Replies
NEWS(1) 							   USER COMMANDS							   NEWS(1)

NAME
news - display system news SYNOPSIS
news [-adDeflnpvxs] [[article1] [article2] ..] DESCRIPTION
The news command keeps you informed of news concerning the system. Each news item is contained in a separate file in the /var/lib/sysnews directory. Anyone having write permission to this directory can create a news file. If you run the news command without any flags, it displays every unread file in the /var/lib/sysnews directory. Each file is preceded by an appropriate header. To avoid reporting old news, the news command stores a currency time. The news command con- siders your currency time to be the date the $HOME/.news_time file was last modified. Each time you read the news, the modification time of this file changes to that of the reading. Only news item files posted after this time are considered unread. OPTIONS
-a, --all Display all news, also the already read news. -d, --datestamp Add a date stamp to each article name printed. this can only be used with the -nl flags. -D, --datefmt <fmt> Specify a date format, see the strftime(3) man page for more details. the default format is (%b %d %Y) -f, --newsdir <dir> Read news from an alternate newsdir. -l, --oneperline One article name per line. -n, --names Only show the names of news articles. -p, --page Pipe articles through $PAGER or more(1) if the $PAGER environment variable is not set. -s, --articles Reports the number of news articles. MAINTAINER OPTIONS
-e, --expire # Expire news older than # days. -x, --exclude a,b,c A comma separated list of articles which may not be expired. if a file named .noexpire exists in the /var/lib/sysnews direcory, filenames are read from it also. names in this file may be comma separated, and/or one per line. AUTHOR
Charles, <int@link.xs4all.nl> Linux 18 January 1995 NEWS(1)
All times are GMT -4. The time now is 11:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy