пара имен пользователей и идентификаторов LVE
Форум
  1. Forums
  2. General
  3. General Discussion
  1. tincboy tincboy
  2. Monday, 27 June 2011
  3.  Subscribe via email
I can fetch a list of all LVEs on a server with \'cat /proc/lve/list\'
However I need to get the resource usages via their username, So how can I get the relation between ids and usernames?
Rate this post:
  1. 27.06.2011 12:06:27
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
lve id is the same as user id.
So, for example, if LVE id = 1001, you can figure out password by doing something like this:

grep x:1001: /etc/passwd|cut -d: -f1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.