General :: System Script To Display All Users?

Jul 15, 2010

Can anybody help with with shell scripting.I need a script to display all users in system.i know there are commands to display all users but i need a script for that.hope someone can share the script.

View 4 Replies


ADVERTISEMENT

General :: How To Display Users Log On Time?

Feb 28, 2010

I was wondering how could I display a list of all of my users and their log on time, you know like small reports on what user was connected for how long.

View 5 Replies View Related

General :: How To Use Grep To Display All Users Running Particular Command?

Mar 19, 2010

Can someone please tell me how I can use grep to display all users running a particular command.

View 3 Replies View Related

General :: IceWM - Customizing Display Settings For Different Users

Jan 15, 2010

I have a Debian machine running IceWM. I want to set it up so when userA signs in they get a screen resolution of 1280x1024 and normal size icons and normal size cursors. Then I want it setup so if UserB signs in they get a screen resolution of 800x600 larger icons and larger mouse cursor icons. How can I customize the display settings per user with IceWM? I did not see where I can set these options in ~/.icewm/preferences.

View 2 Replies View Related

Server :: Script To Add A Secondary Group To All Users Except System Default Users?

Jun 28, 2009

script which can add a secondary group to all existing users except system users in linux.

View 5 Replies View Related

General :: Check For Other Users On System?

Mar 29, 2011

Would like to know what command can be used to check for other user accounts on my system. Note, not presently logged in users like whocommand just a command to know other users?

View 1 Replies View Related

General :: Can't Send Mail To Other Users On Same System?

Dec 27, 2010

I'm trying to send mail to other users on the same host, but they don't arrive.I've tried using mail and alpine. Both programs apparently work fine, in that they behave as expected and apparently send the email.But when logging in as the recipient, there is no mail in /var/spool/mail, and nothing in alpine INBOX

View 3 Replies View Related

General :: Create Users For Email Only And Not On The System?

Feb 20, 2011

i am reading on sendmail and so far my impression is, we must create users on the system (where sendmail is installed) for them to be able to access their emails. I wanted to ask that is it possible to create users for email only and not on the system ? Like lets say i want to create a user client named noony, who gets and sends his email to my sendmail server, but i dont want to actually create the user on my system ?

View 1 Replies View Related

General :: Create System And Samba Users With A Script?

Jan 7, 2010

I need to add linux and samba users using a shell script, it falls over because you are prompted to set a password.

I had a similar problem when installing the samba package using a script because it asks for confirmation after the command, I got round it using --force-yes -y as below.

apt-get install samba smbfs swat --force-yes -y

I suspect and hope you can do something along those lines when creating a linux user and a samba user, something like

smbpasswd �a username ?

View 3 Replies View Related

General :: Root File System More Users With Different Access Before Mounting?

May 11, 2011

I need to customize linux kernel root file system for embedded linux system. During compile time, for root file system I am able to create different user/group ex: "gnumuzic/Muzic". But I want to give access to group "Muzic" to some folders like /dev/nexig during compile time.

View 1 Replies View Related

General :: Which Commands To Use To Output The Current Users Logged Into The System

Apr 27, 2010

Which commands do you use to output the current users logged into the system and accessing a specific file?

View 5 Replies View Related

Fedora :: System-config-display Just Ruined Display?

Jun 29, 2010

I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?

View 14 Replies View Related

General :: How To Display Every Man Page Available On A Unix System

Jul 16, 2011

How can I display every man page available on a unix system? I want to list them all in an easy manner without manually digging up all the search paths, etc.

View 1 Replies View Related

General :: Setup A System To Allow Normal Users To Execute A Command Without Using Sudo?

Jan 5, 2011

I am trying to setup a system to allow normal users to execute a command without using sudo. Is this possible?

View 6 Replies View Related

OpenSUSE :: Users Accessing One Another's Display?

Jan 11, 2011

When you guys su or su -l in a X terminal as another user and/or root, do your user get a ~/.xauthXXXXXX with the magic cookie of the display owner, which allows him/her to start a GUI application? ... or is that just me? If not, under which environment (KDE, Gnome, etc) and how do you start X then?

View 1 Replies View Related

Ubuntu Multimedia :: Different Users With Different Display Settings?

Jul 31, 2011

I'd like to do something, but I don't seem to find the solution. Here is my problem: I have a laptop and I plugged in another monitor to it. What I want to do is when UserA logs in, both of the monitor is used, but when UserB logs in, only one of the monitor is used. When I change the display settings it applies to the other user too. I'd like to have different display settings for each user

View 7 Replies View Related

CentOS 5 :: Display Script That Users Can SSH In And Invoke?

May 11, 2009

I'm trying to do a little bit of setup on our new server and could use a hand.I'm working on creating a simple display script that our users can SSH in and invoke, here is what I'm attempting to do.

Requirements.

1. Must run X over ssh on Mac OS X 10.5 or greater

2. Must work in the office, or on the road

Implementation:
1. Set up the system to auth against LDAP (Open Directory)

2. Create a script on the PATH that checks which displays are available, and launches Xephyr for the first available one.

3. Create a client script that performs the SSH and Xephyr command so that users can simply click the script to start an X session.

I have 1 set up, but I'm having issues with 2 and hence 3. For instance, I can start XNest with the following commands.Start my SSH session

ssh ninet@10.0.1.50 -X

Load XNest
Xnest :1 -ac -geometry 1024x768 -once -query localhost

View 2 Replies View Related

General :: Ubuntu 10.04 - Change System Display User Name On Prompt?

Sep 22, 2011

Choose Menu System->Administration->Users and Groups

I am able to see my Users Settings as follows:

User name: mike

Then why I still see the following prompt line? code...

If my understanding is wrong, then how can I change it in this way?

View 1 Replies View Related

Ubuntu :: Font And Display Inconsistency Between Two Users On Same Machine?

Jan 3, 2011

I have two user accounts on this machine. This problem is particularly noticed when browsing the web in Google Chrome (though I'm not sure if this a Chrome-only problem, so I'm posting this here). My distro is Kubuntu, but all my user accounts use Gnome.

Basically, I have the same font and display settings set up on both user accounts, but the fonts are not showing up the same. I'm not sure if at some point a long time ago I did something on one account that I never did on another to change something, but either way I can't seem to find any difference in any of the settings, yet the display is still different.

This is easier explained with screenshots.

1st user account: [URL]

2nd user account: [URL]

Note how the fonts appear bold and not bold, note the different appearance of the (c) character on the webpage, and note the size of the "Google" image is different.

For Chrome settings, both are set at 100% zoom, so this is not an issue of scale. Both user accounts are also set at 1600x900 resolution. Notice that the Google Chrome fonts are both set exactly the same, as are the Gnome system fonts.

Does anybody have a clue what I'm forgetting to check here? I believe the 2nd user account is the correct one, and the 1st one is wrong, since it clearly looks uglier.

View 2 Replies View Related

Ubuntu Servers :: System Users - Proftp Works With Only 1 System User?

Apr 14, 2011

I'm niomi and I'm the first account with sudo. I add an account, bob. niomi can get in reliably on active mode. (maybe relevant?: passive doesn't work) bob is jailed to his home directory, niomi is in ftp-special which gives her access to /. bob can't log in and his shell is set to bin/false. What could have gone wrong?

View 3 Replies View Related

OpenSUSE Install :: Transfer Users From Old System To New Installed System?

Jul 19, 2010

we have a server running with Suse linux many years. Meanwhile we changed server hardware about 4 times, mostly also updating to newest Suse version. We used to copy group, passwd and shadow to a backup medium, installed the new system and restored those files onto the new system and all was running fine. Now, some weeks ago we installed 11. on new hardware and after restoring those 3 files after rebooting the system hangs when starting GUI. I can boot into runlevel 3 and login with no problem, but when I boot into runlevel 5 mouse and keyboard are frozen. Also when starting GUI from runlevel 3 with startx mouse and keyboard immediately freeze. If I restore the files group, passwd and shadow as they came from fresh new installation I can reboot and login in runlevel 5 without problems.

OK, if I compare the userlist, as it is generated bei installation,there are some usernames I formerly not had in older Suse versions. I don�t know if this can make problems? I tried to edit the files, to combine the system users from 11.2 with the list of local user names from the old system but without success, again the mouse and keyboard freeze.So some questions arise:1) Why now mouse and keyboard freeze in xsystem, when there are changes in the user list (but only in runlevel 5)2) What is the correct way to save and restore users and groups from old to new system. I googled several hours but did not find a smart way. Maybee someon can point me to a link or a howto where I find the solution

View 1 Replies View Related

General :: Created Users In Pureftpd And The Users Are Stored In Mysql Database?

Dec 19, 2010

How to created users in pureftpd and the users are stored in mysql database. I tried when i try to connect i got like this error authentication failed error

View 1 Replies View Related

General :: Only Limited Users Should Login In NIS (not All Nis Users) RHEL 5.4?

Aug 1, 2011

i have a NIS master server and 4 NIS clients. out of 4 nis clients two are acting as login servers ie users will login and do all their stuffs and the remaining two are application servers. But sometimes users login into applications servers and started doing all their developer's job. i want to allow only a limited number of users tointo this application users not all the users who are all part of the nis domain.all the systems are running RHEL 5.4 on hp's proliant x86_64 based servers. Please advice me how should i proceed? enabling ip tables is not possible in my environment.

View 1 Replies View Related

General :: Vsftp - Some Users See Files - Some Don't - But All Users Are In Same Group

Jan 18, 2010

When I have different people log into our ftp and browse to the same folder, some people see the files inside, some don't. all the user accounts are in the same group, which has permission to this folder. but the one user who can see the files is the owner. how can i fix it so everyone in that group who's the owner of the folder can see the files?

View 10 Replies View Related

General :: Keep Users From Accessing Other Users Files?

Oct 1, 2009

Because I was browsing around in KDE and found out that I can view other users files and they can view mine.

View 1 Replies View Related

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies View Related

Programming :: How To Add Users With Same Name To System

Apr 18, 2011

I have a useradd script that can be found here: [Bash] #!/bin/bash #useradd script while true; do echo Please Enter First Name - Pastebin.com.I need to add users that have the same name, while keeping with the current scheme, I'd just like to have numbers at the end of the user, for example joeuser, joeuser1, joeuser2... Basically, keeping with the current naming scheme, I would like to modify the script to automatically add a number to the end of the username when I have users that have the same name.

View 4 Replies View Related

General :: Unable To Neither Add New Users Using Command Useradd Nor Delete Existing Users Using Command Userdel

Jun 30, 2010

Im not getting able to neither add new users using command useradd nor delete existing users using command userdel. And even Im not getting able to login into any existing users except root. It was ok before. Im having this problem very recently on my linux server. Im using RHEL5.

View 9 Replies View Related

Debian :: Permissions Of System Users

Feb 27, 2015

I'm building a small web gui to connect a 3g modem with wvdial via web interface using perl cgi. Which permissions I should use. Now when doing "wvdial 3gconnect" from the perl script it don't have permission to do anything, reading config files, accessing the modem etc.

Its just a little raspberry with only 1 user not available from the internet so its not a problem with loose security. Is there some easy way to let the www-data user get system wide permission without setting the permissions on each thing it should access?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved