06-15-2006
You could, but you'd break most things in the system.
7 More Discussions You Might Find Interesting
1. HP-UX
I want to temporarily disable a user account on HP-UX at the start of a script and renable the account at the end of the script. What would be the best method on HP-UX to temporarily disable a user account? I know of the passwd -l option that will lock the account, but I do not see a flag for... (4 Replies)
Discussion started by: scotbuff
4 Replies
2. Solaris
I couldnt find this in any other post - so hoping someone can help out.
I want to set password expiry (or rather I have to) for a number of users on my solaris 9 system. I know i can set the following options in the /etc/default/passwd file to do it and then just type a passwd -f <username> to... (6 Replies)
Discussion started by: frustrated1
6 Replies
3. Filesystems, Disks and Memory
I'm running a UNIX application on HP-UX which generated logs files every few seconds. Now at times these log files are replicated as .nfs files and sometimes cannot be deleted.
Now it reaches a point that i'm not even able to list any files on the logs directory. Normally i restart that server... (0 Replies)
Discussion started by: dowell
0 Replies
4. Post Here to Contact Site Administrators and Moderators
Delete my account, please. Many thanks and best wishes with the forum. :] (1 Reply)
Discussion started by: BSRadcliffe
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi,
I want to change my user name.And if that is not possible can u please close the account so that i can create a new account with other user name.
Regards,
Jyothi (3 Replies)
Discussion started by: jyothi_wipro
3 Replies
6. Shell Programming and Scripting
Hi,
I have a directory named (/output). this directory has files in the below format
abc.* ,
xyz*,
djj*,
iwe*,
weewe*,
rier*,
3948903ddfgf*
these files are generated at random. what i need to do is. delete all the files of all kinds but keep only the last generated file of... (5 Replies)
Discussion started by: dazdseg
5 Replies
7. Post Here to Contact Site Administrators and Moderators
can`t find an option to do this.... (1 Reply)
Discussion started by: spacevoid8
1 Replies
BRK(2) System Calls Manual BRK(2)
NAME
brk, sbrk, break - change core allocation
SYNOPSIS
char *brk(addr)
char *sbrk(incr)
DESCRIPTION
Brk sets the system's idea of the lowest location not used by the program (called the break) to addr (rounded up to the next multiple of 64
bytes on the PDP11, 256 bytes on the Interdata 8/32, 512 bytes on the VAX-11/780). Locations not less than addr and below the stack
pointer are not in the address space and will thus cause a memory violation if accessed.
In the alternate function sbrk, incr more bytes are added to the program's data space and a pointer to the start of the new area is
returned.
When a program begins execution via exec the break is set at the highest location defined by the program and data storage areas. Ordinar-
ily, therefore, only programs with growing data areas need to use break.
SEE ALSO
exec(2), malloc(3), end(3)
DIAGNOSTICS
Zero is returned if the break could be set; -1 if the program requests more memory than the system limit or if too many segmentation regis-
ters would be required to implement the break.
BUGS
Setting the break in the range 0177701 to 0177777 (on the PDP11) is the same as setting it to zero.
ASSEMBLER
(break = 17.)
sys break; addr
Break performs the function of brk. The name of the routine differs from that in C for historical reasons.
BRK(2)