Sponsored Content
Full Discussion: Request
Contact Us Post Here to Contact Site Administrators and Moderators Request Post 302148258 by moe2266 on Friday 30th of November 2007 12:16:49 PM
Old 11-30-2007
Request

Hi;
I'd like to change my user name. How can i do that?

Last edited by moe2266; 11-30-2007 at 01:34 PM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

a request for help...

Hi, An evil person hacked into my computer last night-- I had a 2nd user account which I used only to allow clients to scp files to me, and this account had a rather 'dumb' password... This was the account that got hacked, anyway, my mailq was filled with thousands of spam emails, so I... (1 Reply)
Discussion started by: patrick99e99
1 Replies

2. Solaris

urgent request!!!!!!!

hi, i want to create oracle managed filesystem ASM in unix. i have a solaris machine which has some empty mounts. but,when i say format Searching for disks...done No disks found! and... cat /etc/vfstab #device device mount FS fsck mount mount #to... (6 Replies)
Discussion started by: rags_s11
6 Replies

3. Solaris

Request Tracker

Hi everyone, I'm trying to install request tracker 3.6.3 on one of my unix box running solaris8, I already installed latest mysql, latest perl, apache2 and followed the instruction on http://www.sun.com/bigadmin/features/articles/req_track_1.html... (6 Replies)
Discussion started by: sparcguy
6 Replies

4. UNIX for Advanced & Expert Users

Request for Recommendations

Hello Guru's, I created this shell script to copy over the files from one location to other location and generating a list of files to process them through ETL tool. Could you please review the code and tell me if you have any recommendations or changes for my code or any thing wrong in my code.... (1 Reply)
Discussion started by: Ariean
1 Replies

5. Shell Programming and Scripting

awk request

Find the number of files with sizes > 100KB in /, /bin, /usr, /usr/bin and /usr/sbin directories and output them in a two column format with the name of the directory and the number of files. i tried with awk $>ls -lh | awk '/^-/ && $5 >= 100k {print $8 $5}' but it is not working pls... (1 Reply)
Discussion started by: abhikamune
1 Replies

6. Solaris

Request

hai is there any way to download and test vcs and vxvm in vmware x86 solaris 10 for education purpose only. i want to learn and practice in my pc. is there any alternate ways have guide me. (1 Reply)
Discussion started by: samiulla
1 Replies
SETREUID(2)						      BSD System Calls Manual						       SETREUID(2)

NAME
setreuid -- set real and effective user ID's LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> int setreuid(uid_t ruid, uid_t euid); DESCRIPTION
This interface is made obsolete by the saved ID functionality in setuid(2) and seteuid(2). The real and effective user ID's of the current process are set according to the arguments. If the real user ID is changed, the saved user ID is changed to the new value of the effective user ID. If ruid or euid is -1, the current uid is filled in by the system. Unprivileged users may change the real user ID to the effective user ID, and may change the effective user ID to the real user ID or the saved user ID; only the super-user may make other changes. The setreuid() function has been used to swap the real and effective user IDs in set-user-ID programs to temporarily relinquish the set-user- ID value. This purpose is now better served by the use of the seteuid() function (see setuid(2)). When setting the real and effective user IDs to the same value, this function is equivalent to the setuid() function. When setting only the effective user ID, this function is equivalent to the seteuid() function. RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
[EPERM] The current process is not the super-user and a change other than changing the effective user-id to the real user-id was specified. SEE ALSO
getuid(2), seteuid(2), setgid(2), setuid(2) HISTORY
The setreuid() function call appeared in 4.2BSD. An incompatible version was implemented in 4.4BSD. It was reimplemented in NetBSD 1.2 in a way compatible with 4.3BSD, SunOS and Linux, but should not be used in new code. BSD
January 5, 2001 BSD
All times are GMT -4. The time now is 11:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy