General :: How To Get Time From Power On System To Show User Login View
May 16, 2011I want to get the time from power on system to showing user login view in Linux, how to do? Can it work only with shell?
View 2 RepliesI want to get the time from power on system to showing user login view in Linux, how to do? Can it work only with shell?
View 2 RepliesIs there a way to prevent ubuntu/gnome to show the user name(s) at the login screen?
Only asking "username" and not "login as"?
get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct
View 3 Replies View RelatedI am connected to a network via SHH. Now, i know how i can see which users are logged on as well, but how can i see how many times each user has connected? this refering to users that have logged on at least once
View 7 Replies View RelatedI Run Fedora 11 and i have problem after shutdown computer. My computer cant power-off, just show "System Halted".
PC Model : Compaq Presario SR1400CF Desktop PC.
How to find, what are the files (system & user) created after login to the system in RHEL 5.0?
Any single command available?
1. How sum of system time and user time can be greater than real time ?
2. Even though my program is not waiting for any I/O the real time is smaller than system time as shown
root@chaitu:/home/chaitu/Desktop/Chk# time ./new
real0m0.001s
user0m0.000s
sys0m0.004s
I need to edit the system time as a not-root user. I am carrying out the following actions in my program.
1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.
I'm wondering if there is an option to not show specyfic user on login screen in my gnome desktop - so f.e. I've got 3 users: "a", "b" and "c" and I want only "a" and "b" to be shown in login window.
View 4 Replies View RelatedOn openSUSE 11.4 KDE, is it possible to show user pictures in the Login screen? I added a picture to my user account in the "Password & User Account -- KDE Control Module" but when I logout the picture does not show in the Login screen.
View 1 Replies View RelatedI'm using Gnome as my desktop in openSuSE 11.2. How do I set my login so that all users are not shown?
View 3 Replies View RelatedIs there a way to create a user that will not show up in the GDM login screen? This user also needs to have sudo access
View 6 Replies View RelatedHow do I control which users are seen from the login screen?
View 7 Replies View RelatedCan advise if I want to have a alert message when a specific user is login to the system , what can I do ? that mean if a specific is login to system then send me a alert message ( by any way ) to inform me the user is login , what is the method ?
View 7 Replies View RelatedI'm Running Lubuntu 10.04 on an old P3 PC Every time i want to log in i have to type the user-name and password. Is there any way Lubuntu can show the user-name to the login screen so that when i reach the login screen i see the usernames an i just click on the user-name enter the password and login ? s that achievable in Lubuntu 10.04 ?
View 4 Replies View RelatedWhen I boot Ubuntu 10.04 then at first the login screen appears with the main user
"Peter"
and
"other..."
In 99% of the cases I use "Peter" and have explicitely to click on Peter. Only then the password entry field appears and I can enter it.
This is somehow user unfriendly. Can I define somehow a default user (here: Peter) and show immediately the password entry field (and place the cursor inside)?
I have no idea how I did it. All of a sudden I couldn't access synaptic so I restarted my system and the login screen wouldn't show up. I tried dpkg --configure -a and sudo apt-get install -f. I can't access my system at all.
View 5 Replies View RelatedI have developed an application, in C language, that should received the EPOCH time (6 bytes) at about every 30 min. What function should I use as a non root user to modify the System Time.? The idea is that the same application could update the System Time. I am using Ubuntu.
View 1 Replies View RelatedCan anybody show me how to view command history of another user? I am an admin on my machine. I can see normal history by viewing /home/user_name/.bash_history but i can't see commands of that "user_name" when they were doing sudo. Is there a way to view all command executed by one user?
View 3 Replies View RelatedOnce you add a user(s) to be an administrator on the group you've created using gpasswd command (for example, i've added joe (username) as administrator for payroll (groupname) group using gpasswd); is there any way for me to view the list of users that I've assigned as administrators for a particular group? if so, what is the command line that i need to run?
View 2 Replies View RelatedI'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
View 3 Replies View RelatedIt takes me a while to log in the splash screen just sits there for ages before i get to the desktop. Never used to be this slow and I'm not sure why. Firstly, I'm running Ubuntu 11.04, standard DE. I do have conky starting up in a script but it has the & at the end of the line so I didn't think this would cause it (or is there some special case for log in time on how & is treated?). However as a test I will comment out the line in the script and see if it is the cause.
However just for general knowledge and in case that isn't the problem, how does one go seeing what is happening during the time from when one log's in and the desktop is displayed? Is there some kind of log that shows the date/time that can be enabled or is there a debug mode that can be enabled somehow via special keys or maybe from grub?
I was logged in, but had not used the computer for about 48 hours. When I 'woke' the system, I could see that Thunderbird and Firefox were active, just as I had left them. I moved the mouse, the screen went black and the mouse pointer was visible (and could move). The system stayed like this for about 2 minutes, then wend down completely. I cut power, booted and got the login screen. Each time I put in my password, it looks as if it is loading but then just goes right back to the login screen. I have no problem logging in as root.
View 9 Replies View RelatedI am new to ldap. I've installed openldap server in a centos but yet to test it. My question is how to force user to login to the system using ldap instead of non-ldap login? For example, I created some users in the ldap server, these users are exist in /etc/passwd, when ssh login to server as user, it normally authenticates through /etc/passwd file without being forced to use ldap.
View 3 Replies View RelatedI am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
I have two systems running on linux. system one is running with RHEL 5.4/X86_64 hardware, system two is running with RHEL 5.3/i686 hardware. One filesystem is shared from system two and mounted as NFS on system one. Now when i do a copy from local filesystem to the NFS share from system one,it shows as follows
Quote:
-rw-r--r-- 1 xkinved rbak1 30 Mar 3 2011 king
But if i do copy with -p option then it shows right time stamp. Both machines are running with slight(minutes) different in time. Does this could be cause for this problem? The problem is happening while i do FTP from some other machines too.
I want to use history command to show the time stamp, user id, ip address, command logged
View 1 Replies View RelatedI will be setting up a computer for people who have very little experience using computers and I want to limit their ability to break things. I'm thinking Linux is the way to go but I don't know what distribution to use. I don't know anything about their hardware other than it is an old laptop. I don't have a lot of experience with Linux, but I would think that without sudo there is not a lot of things you can break.
What would be a good Linux dist that has everything out of the box? (flash, vnc, office, etc) How should I set up the user account to avoid giving them too much power, yet still allowing the computer to be useable for daily tasks? (Will they be able to update software?) I also want to be able to control the machine remotely since I won't have physical access after I set it up, so I am looking into ssh, vnc, (or a better alternative?).
After Days of trying to install Nagios, I eventually got everything working fine ! The only problem now is I get the following error message on the nagios web interface: "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file."
View 1 Replies View Relatedoutput of "last -a" is as follows:
usr pts/3 Tue Aug 17 12:28 - 12:44 (00:15) dom1.broadband.za
usr pts/3 Tue Aug 17 11:06 - 11:25 (00:18) dom1.broadband.za
I need to sum up $9, which is 15+18, but the parenthesis come in way and sum comes zero.
last -a|awk '{sum=sum+$9} {print sum}'
What am I doing wrong?