Sponsored Content
Operating Systems Solaris Solaris 10 - 'ls' green for root user only Post 302929831 by jlliagre on Saturday 27th of December 2014 05:23:45 AM
Old 12-27-2014
The most likely reason is your customized "ls" fails to revert the rendition to normal.

What says "type ls" ?
 

8 More Discussions You Might Find Interesting

1. Solaris

Permissions for the root user on Solaris 10

Hi I have a doubt, here if a file does not have the write permissions to the root user my script is going to write the data into that file. when i executed the script as root user. Is it correct ... ? (4 Replies)
Discussion started by: Shreedhar Naik
4 Replies

2. Solaris

How to start CDE for non root user on Solaris 10

Hi, How can I start CDE for non root user created.For root CDE is working fine but for non root user CDE exits back to login screen after trying for some time.Also I cant see .dt and .dtprofile files in the users home directory.How can I create them.Kindly help. Thanks & Regards, Kiran. (1 Reply)
Discussion started by: kiranherekar
1 Replies

3. Solaris

Non-root user access to privileged ports-Solaris 8

Please let me know how to setup a non-root user to be able to access a privileged port (<1024) on Solaris 8. I am currently running tomcat as "tomcat" user and I get the following error during to start up: SEVERE: Error initializing endpoint java.net.BindException: Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies

4. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

5. Solaris

Enable FTP for root user in Solaris 10

I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error. 331 Password required for root. Password: 530 Login incorrect. Login failed. Tried following things already. 1. SFTP works ok, still would like to know why FTP is not working (curious). 2.... (5 Replies)
Discussion started by: webkid
5 Replies

6. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

7. SuSE

Non root user want to see /var/log/messages - any suse equivalent of Solaris dmesg

Hi New to Suse - mainly used Solaris. In solaris dmesg will also show you contents of messages log file but in Suse Liux it doesnt appear to. I dont have root access to this Suse server, and wondering is there any other tool / utility that allows me to see the messages file contents like on... (1 Reply)
Discussion started by: frustrated1
1 Replies

8. Solaris

Root user not recognizing on Solaris-10 (shadow file corruption)

Hello, I got into a wired state on one of solaris 10 server. When I noticed that server is having some issue, I found that there were dumpadm.conf entries in /etc/shadow and real entries were wiped of. Probably somebody fat fingers. I was able to boot into failsafe, break SVM mirror, copied... (25 Replies)
Discussion started by: solaris_1977
25 Replies
curs_bkgrnd(3)						     Library Functions Manual						    curs_bkgrnd(3)

NAME
curs_bkgrnd, bkgrnd, wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd - Set or get background character and rendition by using a com- plex character SYNOPSIS
#include <curses.h> int bkgrnd( const cchar_t *wch ); int wbkgrnd( WINDOW *win, const cchar_t *wch ); void bkgrndset( const cchar_t *wch ); void wbkgrndset( WINDOW *win, const cchar_t *wch ); int getbkgrnd( cchar_t *wch ); int wgetbkgrnd( WINDOW *win, cchar_t *wch ); LIBRARY
Curses Library (libcurses) STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: bkgrnd, wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd: XCURSES4.2 Refer to the standards(5) reference page for more information about industry standards and associated tags. DESCRIPTION
By using the information in wch, the bkgrndset and wbkgrndset functions set the background rendition and manipulate the window rendition of the current or specified window. These functions turn off the previous background attributes from the current window rendition and add the new background rendition from wch into the window rendition. The bkgrnd and wbkgrnd functions set the background rendition and manipulate the window rendition of the current or specified window. These functions turn off the previous background attributes from the current window rendition and add the new background rendition from wch into the window rendition. They then apply this setting to every character position in that window as follows: The rendition of every character on the screen is changed to the new window rendition. Wherever the former background character appears, it is changed to the new back- ground character. If wch refers to a nonspacing complex character for bkgrnd, bkgrndset, wbkgrnd, or wbkgrndset, then wch is added to the existing spacing complex character that is the background character. If wch refers to a multicolumn character, the results are unspecified. The getbkgrnd and wgetbkgrnd functions store into the area pointed to by wch the value of the window's background character and rendition. NOTES
The header file <curses.h> automatically includes the header file <stdio.h>. Note that bkgrnd, bkgrndset, and getbkgrnd may be macros. RETURN VALUES
The bkgrndset and wbkgrndset functions do not return a value. Upon successful completion, the other functions return OK. Otherwise, they return ERR. SEE ALSO
Functions: curses(3), curs_bkgd(3) Others: standards(5) curs_bkgrnd(3)
All times are GMT -4. The time now is 01:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy