LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 08-04-2007, 09:46 AM   #16
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15

Thanks jlliagre

Yes now it is working ,

In my system i am planing to create one more user ,then how can i controll the use of "pfexec" by that user?

What are the necessary actions while creating an Ordinary user with very low rights?

...Arun
 
Old 08-04-2007, 10:12 AM   #17
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15
Accidently i posted 2 times, So edited the msg and removed the comments, ( I dont kow how to remove a posted reply)

Sorry for the trouble
..ARUN

Last edited by kcarun; 08-04-2007 at 10:16 AM.
 
Old 08-04-2007, 02:11 PM   #18
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,459

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Quote:
Originally Posted by kcarun
What are the necessary actions while creating an Ordinary user with very low rights?
A user is already created by default with "very low" rights, i.e. no administrative rights.

You can remove previously granted rights with this command:
Code:
# /usr/sbin/usermod -P "" userid
 
Old 08-05-2007, 03:13 AM   #19
kcarun
Member
 
Registered: Dec 2006
Location: Cochin,INDIA
Distribution: Debian , OpenSolaris,Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 15
jlliagre , Now it is clear.

One of my first cousin is sparingly use my system to view some examination results, I am planing to add a user account for him. Is it possible to create an account with out password? and can log on to GUI for browsing?
 
Old 08-05-2007, 04:10 AM   #20
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,459

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Passwordless acounts are risky but you can give your cousin an empty password.
 
Old 08-05-2007, 09:00 AM   #21
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 242

Rep: Reputation: 30
if you are using bash, then the up cursor key will do, but for korn shell, issue first the command set -o vi. to get to the previous command, press escape key followed by small letter k (similar to vi)
 
Old 10-19-2012, 02:45 AM   #22
sajib123
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
How to get yesterday's command fired in solaris

Hi all,

Can anybody help me by providing the path or command to know the list of commands fired yesterday in solaris terminal?

for example as today is 18.10.2012.. I want to know yesterday (17.10.2012) what were the commands fired in solaris terminal.?

pls help.
 
Old 10-19-2012, 03:49 AM   #23
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,459

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
There is no timestamping in shell history so there is no way to get that information unless you are using a recent enough bash release and have properly set the HISTTIMEFORMAT variable. If you are using ksh, there are hacks to have your prompt saving the timestamp in the history file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 9 - Command line history itsjustme Solaris / OpenSolaris 4 08-03-2007 01:07 PM
LXer: Useful Commands For The Linux Command Line LXer Syndicated Linux News 0 03-12-2007 10:01 AM
Java Commands for Command Line AceTech Programming 4 08-20-2006 02:55 AM
Time commands from command line ToothlessRebel Linux - Newbie 1 03-09-2005 10:52 AM
shell's command line locks after commands like ls tree_buddy Linux - Networking 17 09-15-2003 10:52 AM


All times are GMT -5. The time now is 01:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration