12-25-2012
Thanks for reporting back trantuananh24hg
10 More Discussions You Might Find Interesting
1. Solaris
I need to recover root password on a test server (E 10k) running solaris 9. Can someone please tell me how to do this? (1 Reply)
Discussion started by: nitinkgoud
1 Replies
2. Solaris
Any body pls let me know the procedure to recover ROOT password in Sun Netra 20 Server..I forgot the password. (5 Replies)
Discussion started by: gini
5 Replies
3. AIX
Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies
4. UNIX for Dummies Questions & Answers
Trying to recover a root password on a Sun V580. Problem is I can not get it to recognize the STOP A to get to an OK prompt. Using USB keyboard and mouse.
Any ideas???? (1 Reply)
Discussion started by: calamine
1 Replies
5. Solaris
How to recover root password in solaris, I forgot root password.
thanks in advance (2 Replies)
Discussion started by: durgaprasadr13
2 Replies
6. Solaris
Dear All,
I have lost my data backup server's root password, just have a normal login username and password ..but i need to get back my root passwd....any1 can help me out plz :confused: (7 Replies)
Discussion started by: abir
7 Replies
7. Solaris
How can I recover root password :wall:
1) I am running Solaris 10 (X86) through VMware for practicing.
2) I was practicing root password recovery and deleted the password in /etc/shadow file.
3) Neither cant login the to the CLI nor Console
4) Selected the Soalris X86 failsafe in... (4 Replies)
Discussion started by: vijaykrishna
4 Replies
8. Red Hat
Hello forum members,
Please help me to recover the root password. i can login with the user in redhat linux but i forget root password. so pleas help me to recover.
advance thanks
siva. (2 Replies)
Discussion started by: workforsiva
2 Replies
9. Solaris
Hello forum members,
Please help me to recover the root password. I have had difficulties working with Solaris 11.
The run-level equivalents single-user in Solaris 10, I can mount disk in one partition and edit files shadow/passwd.
For example:
{0} ok boot cdrom -s
# mount... (4 Replies)
Discussion started by: Marcela Bueno
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,, i have a solaris 10 machine , that let the root password expire..
I am trying to recover from failsafe mode.
In the old days it was rater simple , boot to cdrom , mount the root disk,
/a cd /a and wipe out root pw string..
Now i have to try and do it remotely , from failsafe and this... (2 Replies)
Discussion started by: goya
2 Replies
LEARN ABOUT X11R4
ungetwc
UNGETWC(3) Linux Programmer's Manual UNGETWC(3)
NAME
ungetwc - push back a wide character onto a FILE stream
SYNOPSIS
#include <wchar.h>
wint_t ungetwc(wint_t wc, FILE *stream);
DESCRIPTION
The ungetwc() function is the wide-character equivalent of the ungetc(3) function. It pushes back a wide character onto stream and returns
it.
If wc is WEOF, it returns WEOF. If wc is an invalid wide character, it sets errno to EILSEQ and returns WEOF.
If wc is a valid wide character, it is pushed back onto the stream and thus becomes available for future wide-character read operations.
The file-position indicator is decremented by one or more. The end-of-file indicator is cleared. The backing storage of the file is not
affected.
Note: wc need not be the last wide-character read from the stream; it can be any other valid wide character.
If the implementation supports multiple push-back operations in a row, the pushed-back wide characters will be read in reverse order; how-
ever, only one level of push-back is guaranteed.
RETURN VALUE
The ungetwc() function returns wc when successful, or WEOF upon failure.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
+----------+---------------+---------+
|Interface | Attribute | Value |
+----------+---------------+---------+
|ungetwc() | Thread safety | MT-Safe |
+----------+---------------+---------+
CONFORMING TO
POSIX.1-2001, POSIX.1-2008, C99.
NOTES
The behavior of ungetwc() depends on the LC_CTYPE category of the current locale.
SEE ALSO
fgetwc(3)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
GNU
2015-08-08 UNGETWC(3)